Microsoft SDK for Java

IRemoteProcess::
TraceMethods

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.

Syntax

HRESULT TraceMethods(BOOL bTraceOn)

Parameters

[in] bTraceOn Set to TRUE to enable method call tracing; set to FALSE to disable method call tracing.

Return Value

S_OK -- Success. 

E_FAIL -- Method tracing can only be disabled if it is enabled.

E_OUTOFMEMORY -- Insufficient memory.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.