Share via


Runtime.traceMethodCalls

Class Overview | Class Members | This Package | All Packages

Syntax

public native void traceMethodCalls( boolean on )

Parameters
  • on
    true to enable instruction tracing; false to disable this feature.
Description

Enables/Disables tracing of method calls. If the boolean argument is true, this method asks the Java Virtual Machine to print out a detailed trace of each method in the Java Virtual Machine as it is called. The virtual machine may ignore this request if it does not support this feature. The destination of the trace output is system dependent.

If the boolean argument is false, this method causes the Java Virtual Machine to stop performing the detailed method trace it is performing.