BBjRuntime::getDebugState

Description

In BBj 9.0 and higher, this method returns whether the debug state of the current interpreter is on.

Syntax

Return Value

Method

boolean

getDebugState()

Parameters

None.

Return Value

Returns true if the debug state is currently on.

Remarks

When the debug state is on, BBj will print additional information to stdout when it catches a Java Exception.  

When a program is stopped at the console, entering the dot command .debug toggles the debug state and prints out the new value of the debug state.

Example

print BBjAPI().getRuntime.getDebugState()

See Also

BBjAPI

BBjRuntime

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.