BBjRuntime::setDebugState

Description

In BBj 9.0 and higher, this method sets the debug state of the current interpreter.

Syntax

Return Value

Method

boolean

setDebugState(boolean isOn)

Parameters

Variable

Description

isOn

Specifies the debug state after call completes.

Return Value

Sets the debug state of the current BBj session.

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

BBjAPI().getRuntime().setDebugState(1)

See Also

BBjAPI

BBjRuntime

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