Use of the TraceMethods method is deprecated. Tool developers should, in general, use the Java profiler interfaces instead.
The TraceMethods method of the IRemoteProcess interface enables or disables IRemoteProcessCallbackEx2::TraceEvent method callbacks from the Microsoft VM to the debugger each time a Java method is called.
HRESULT TraceMethods(BOOL bTraceOn)
[in] bTraceOn | Set to TRUE to enable method call tracing; set to FALSE to disable method call tracing. |
S_OK -- Success.
E_FAIL -- Method tracing can only be disabled if it is enabled.
E_OUTOFMEMORY -- Insufficient memory.