Skip to main content

DebuggerOptions

DebuggerOptions [enable=en, debugOnAbort=doa, debugOnError=doe, NVAR_SVAR_WAVE_Checking=nvwc]

The DebuggerOptions operation programmatically changes the user-level debugger settings. These are the same three settings that are available in the Procedure menu (and the debugger source pane contextual menu).

Parameters

All parameters are optional. If none are specified, no action is taken, but the output variables are still set.

enable=enTurns the debugger on or off.
en = 0:Disables the debugger
en = 1:Enables the debugger.
If the debugger is disabled then the other settings are cleared even if other settings are on.
debugOnAbort=doaTurns Debugging On User Abort on or off.
doa = 0:Disables Debug On Abort.
doa = 1:Enables Debug On Abort and also enables the debugger (implies enable=1).
The Debug on User Abort feature was added in Igor Pro 9.00. See Debugging On User Abort for details.
debugOnError=doeTurns Debugging On Error on or off.
doe = 0:Disables Debugging On Error.
doe =1:Enables Debugging On Error and also enables the debugger (implies enable=1).
NVAR_SVAR_WAVE_Checking=nvwc
Turns NVAR, SVAR, and WAVE checking on or off.
nvwc = 0:Disables "NVAR SVAR WAVE Checking". See Accessing Global Variables and Waves for details.
nvwc = 1:Enables this checking and also enables the debugger (implies enable=1).

Output Variables

DebuggerOptions sets the following variables to indicate the Debugger settings that are in effect after the command is executed. A value of zero means the setting is off, nonzero means the setting is on.

V_enable, V_debugOnError, V_debugOnAbort, V_NVAR_SVAR_WAVE_Checking

See Also

The Debugger, Debugger