This topic has not yet been rated - Rate this topic

dbgBreakpointType Enumeration

Visual Studio .NET 2003

The type of breakpoint. Used by the Type property.

Constant Value
dbgBreakpointTypeNone Reserved for future use.
dbgBreakpointTypePending 2
dbgBreakpointTypeBound 3
dbgBreakpointTypeError Reserved for future use.
dbgBreakpointTypeWarning Reserved for future use.
dbgBreakpointTypeGroup Reserved for future use.

Remarks

The type of breakpoint.

When you are debugging, you encounter the bound breakpoint most frequently. A bound breakpoint is a breakpoint that the debugger hits. For example, BreakpointLastHit property returns a bound breakpoint.

For automation projects, all bound breakpoints have a single parent breakpoint. The parent breakpoint is a pending breakpoint. For example, a pending breakpoint could specify breaking when function MyFunc( ) is loaded. If two separate modules are loaded, and both have a function called MyFunc( ), then two bound breakpoints are created for the single pending breakpoint. Both bound breakpoints share the same pending breakpoint, which is returned by the Parent property on the Breakpoint object.

The Breakpoints collection returns the list of known pending breakpoints. To navigate to the bound breakpoints for each pending, get the Breakpoints collection using the Children property for each pending breakpoint.

For automation projects, the Breakpoints Window shows the merged pending/bound breakpoint if only one bound breakpoint is associated with the pending breakpoint.

Requirements

Namespace: EnvDTE

File: dte.tlb

See Also

Breakpoints

Did you find this helpful?
(1500 characters remaining)