Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
Debug.printStackTraceIf
Prints a trace of the current callstack to debug output.
Syntax
public static void printStackTraceIf( boolean condition )
public static void printStackTraceIf( String name )
Parameters
condition
The condition to check.
name
The name of the switch to check.
Remarks
In the first syntax, this method prints a trace of the current callstack to debug output if the condition evaluates to true. In the second syntax, this method prints a trace of the current callstack if the specified switch is set to true.
This method will be omitted from your code unless you have either the DEBUG or TRACE conditional compile switches set.