Microsoft.VisualStudio.Debugger.Breakpoints Namespace

Classes

DkmBoundBreakpoint

Represents a breakpoint which has been bound (resolved) to a particular code instruction address or a particular data element. For example, in C++ templates one could create a DkmPendingBreakpoint for a source line. The breakpoint manager would resolve it to zero (ex: module not loaded), one (ex: template is only used on 'int') or many (ex: template is used with many template arguments) location. Each location would have a DkmBoundBreakpoint object.

DkmBreakpointCondition

Conditions under which a breakpoint should fire.

DkmBreakpointFileUpdateNotification

Object used to send file update notifications to breakpoint managers.

DkmBreakpointHitCountCondition

Values of the breakpoints hit count which should cause the breakpoint to fire.

DkmEvaluationBreakpointCondition

Represents a condition which is evaluated on the target computer. These objects are used for languages where the expression evaluator is implemented on the target.

DkmPendingAddressBreakpoint

Pending breakpoint which is requested to bind against a particular instruction address. Within the IDE, these breakpoints are set from the call stack window, disassembly window, or by entering a hex address into the function breakpoint dialog. Because the DkmInstructionAddress is given as input, these breakpoints can support Runtimes which cannot persist their addresses to a string (ex: an interpreter).

DkmPendingAddressNameBreakpoint

Pending breakpoint which is requested to bind against the code element at a specific instruction address string. Within the IDE, these breakpoints are created when the user sets a breakpoint in the call stack or disassembly window, and then the debugger is asked to rebind the breakpoint in another debug session or in another process within the same debug session.

DkmPendingBreakpoint

High level breakpoint object which is tied to a user-level construct (ex: source file, function name) which may map to zero or more code-level constructs (DkmBoundBreakpoint) and which may be tracked over time.

Derived classes: DkmPendingAddressBreakpoint, DkmPendingAddressNameBreakpoint, DkmPendingDataBreakpoint, DkmPendingFileLineBreakpoint, DkmPendingFunctionBreakpoint

DkmPendingDataBreakpoint

Pending breakpoint which is tied to a data expression instead of a code expression. Data breakpoints fire when the specified element is written to.

DkmPendingFileLineBreakpoint

Pending breakpoint which is requested to bind against code elements that point back to a text span within a source file.

DkmPendingFunctionBreakpoint

Pending breakpoint which is requested to bind against code elements that have a specific function name.

DkmRuntimeBreakpoint

Low-level breakpoint object which is supported by debug monitors.

Derived classes: DkmRuntimeHardwareDataBreakpoint, DkmRuntimeInstructionBreakpoint, DkmRuntimeClrDataBreakpoint, DkmRuntimeCustomDataBreakpoint

DkmRuntimeClrDataBreakpoint

Low-level data breakpoint which is set using the hardware breakpoint registers of the CPU for managed values.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

DkmRuntimeCustomDataBreakpoint

A low level breakpoint that can be implemented by a monitor based on an arbitrary string description.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

DkmRuntimeHardwareDataBreakpoint

Low-level data breakpoint which is set using the hardware breakpoint registers of the CPU.

DkmRuntimeInstructionBreakpoint

Low-level breakpoint which is set on an instruction address.

Structs

DkmClearRuntimeBreakpointConditionsAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.ClearConditions call.

DkmClearRuntimeBreakpointHitCountConditionAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.ClearHitCountCondition call.

DkmDisableBoundBreakpointAsyncResult

Result of an asynchronous DkmBoundBreakpoint.Disable call.

DkmDisablePendingBreakpointAsyncResult

Result of an asynchronous DkmPendingBreakpoint.Disable call.

DkmDisableRuntimeBreakpointAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.Disable call.

DkmEnableBoundBreakpointAsyncResult

Result of an asynchronous DkmBoundBreakpoint.Enable call.

DkmEnablePendingBreakpointAsyncResult

Result of an asynchronous DkmPendingBreakpoint.Enable call.

DkmEnableRuntimeBreakpointAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.Enable call.

DkmEnrollPendingBreakpointAsyncResult

Result of an asynchronous DkmPendingBreakpoint.Enroll call.

DkmEvaluateConditionAndSelectThreadAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.EvaluateConditionAndSelectThread call.

DkmGetBoundBreakpointHitCountValueAsyncResult

Result of an asynchronous DkmBoundBreakpoint.GetHitCountValue call.

DkmGetRuntimeBreakpointHitCountConditionAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.GetHitCountConditionStatus call.

DkmRequestBreakpointEventOnModifiedThreadAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.RequestBreakpointEventOnModifiedThread call.

DkmSetCompiledConditionAsyncResult

Result of an asynchronous DkmRuntimeInstructionBreakpoint.SetCompiledCondition call.

DkmSetCompiledConditionPendingAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.SetCompiledConditionPending call.

DkmSetEvaluationConditionAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.SetEvaluationCondition call.

DkmSetPendingBreakpointConditionAsyncResult

Result of an asynchronous DkmPendingBreakpoint.SetCondition call.

DkmSetPendingBreakpointHitCountConditionAsyncResult

Result of an asynchronous DkmPendingBreakpoint.SetHitCountCondition call.

DkmSetRuntimeBreakpointHitCountConditionAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.SetHitCountCondition call.

DkmTestRuntimeBreakpointAsyncResult

Result of an asynchronous DkmRuntimeBreakpoint.Test call.

DkmTryClearConditionOnTargetDeviceAsyncResult

Result of an asynchronous DkmRuntimeInstructionBreakpoint.TryClearConditionOnTargetDevice call.

DkmTryPushConditionToTargetDeviceAsyncResult

Result of an asynchronous DkmRuntimeInstructionBreakpoint.TryPushConditionToTargetDevice call.

Enums

DkmBreakpointConditionOperator

Indicates how the breakpoint text should be used ('BreakWhenTrue' or 'BreakWhenChanged').

DkmBreakpointHitCountConditionOperator

Operator to use between the current hit count and the condition operand to decide if the hit count condition has been satisfied.

DkmBreakpointMessageLevel

Describes the severity of a message sent from a breakpoint manager back to the source component. This list is sorted in order of priority, as the UI will only display the most important warning. All warnings are ignored if the breakpoint is bound.

DkmBreakpointUnboundReason

Describes the reason for a breakpoint to be unbound.

DkmDataAccessStopMask

Mask of reasons why the data breakpoint should fire. For example, if 'Write' is set, then the breakpoint will fire when the memory location is written.

DkmPendingBreakpoint.Tag

DkmPendingBreakpoint is an abstract base class. This enum indicates which derived class this object is an instance of.

DkmRuntimeBreakpoint.Tag

DkmRuntimeBreakpoint is an abstract base class. This enum indicates which derived class this object is an instance of.