Skip to content

Debugger Properties

Andrew Crawley edited this page Jan 31, 2018 · 1 revision

Debugger Properties

Visual Studio supports many global options that affect the operation of debuggers. These options can be modified during a debugging session.

Required Implementation

To support these global options, a debug adapter must:

  • Implement a handler for the custom setDebuggerProperty request
  • Return true for the supportsDebuggerProperties field in the Capabilities object returned in response to the initialize request.

Property Definitions

The setDebuggerProperty request can contain arbitrary arguments, as some are provided by Visual Studio, and others may be provided by a custom project system, if one is associated with the debug adapter. Common options controlled by the "Debugging" section of the "Options" dialog include:

Name Type Description
JustMyCodeStepping integer Set to "1" if "Just My Code" is enabled.
DisableJITOptimization integer Set to "1" if "Suppress JIT optimization on module load" is enabled.
WarnIfNoUserCodeOnLaunch integer Set to "1" if "Warn if no user code on launch" is enabled.
EnableStepFiltering boolean Set to true if "Step over properties and operators" is enabled.
Clone this wiki locally