Freigeben über


DkmBoundBreakpoint.Create Method

Definition

Called by a breakpoint manager to create a DkmBoundBreakpoint object for each location that a DkmPendingBreakpoint binds to.

public:
 static Microsoft::VisualStudio::Debugger::Breakpoints::DkmBoundBreakpoint ^ Create(Microsoft::VisualStudio::Debugger::Breakpoints::DkmPendingBreakpoint ^ PendingBreakpoint, Microsoft::VisualStudio::Debugger::Breakpoints::DkmRuntimeBreakpoint ^ Target, Microsoft::VisualStudio::Debugger::Symbols::DkmSourcePosition ^ SourcePosition, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint Create (Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint PendingBreakpoint, Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint Target, Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition SourcePosition, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint Create (Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint PendingBreakpoint, Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint? Target, Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition? SourcePosition, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint * Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint * Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint
Public Shared Function Create (PendingBreakpoint As DkmPendingBreakpoint, Target As DkmRuntimeBreakpoint, SourcePosition As DkmSourcePosition, DataItem As DkmDataItem) As DkmBoundBreakpoint

Parameters

PendingBreakpoint
DkmPendingBreakpoint

[In] 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.

Target
DkmRuntimeBreakpoint

[In,Optional] The low-level runtime breakpoint which backs this high-level bound breakpoint.

SourcePosition
DkmSourcePosition

[In,Optional] An optional reference to the document and text position this breakpoint bound to. This should be set unless the bound location does not have source information.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmBoundBreakpoint instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to