Share via


Runtime.traceInstructions

Class Overview | Class Members | This Package | All Packages

Syntax

public native void traceInstructions( boolean on )

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

Enables/Disables tracing of instructions. If the boolean argument is true, this method asks the Java Virtual Machine to print out a detailed trace of each instruction in the Java Virtual Machine as it is executed. 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 instruction trace it is performing.