State Property

Home Page (Objects)OverviewFAQReference

Applies to: Debugger object

Gets the state of the Developer Studio debugger.

Syntax

object**.State**

Parameters

object

An expression that evaluates to a Debugger object.

Remarks

The State property has the DsExecutionState type and gets one of the following values:

  • dsBreak   Indicates that the program being debugged is in a paused state.

  • dsNoDebugee   Indicates that no program is being debugged.

  • dsRunning   Indicates that the program being debugged is running under the debugger.

Example

The following example gets and displays the state of the debugger:

PrintToOutputWindow(Debugger.State)