다음을 통해 공유


Debugger.GetBreakpoint Method

Definition

Overloads

GetBreakpoint(Int32, Nullable<Int32>)

Get a breakpoint by id, primarily for Enable/Disable/Remove-PSBreakpoint cmdlets.

GetBreakpoint(Int32)

Get a breakpoint by id in the current runspace, primarily for Enable/Disable/Remove-PSBreakpoint cmdlets.

GetBreakpoint(Int32, Nullable<Int32>)

Get a breakpoint by id, primarily for Enable/Disable/Remove-PSBreakpoint cmdlets.

public virtual System.Management.Automation.Breakpoint GetBreakpoint (int id, int? runspaceId);
abstract member GetBreakpoint : int * Nullable<int> -> System.Management.Automation.Breakpoint
override this.GetBreakpoint : int * Nullable<int> -> System.Management.Automation.Breakpoint
Public Overridable Function GetBreakpoint (id As Integer, runspaceId As Nullable(Of Integer)) As Breakpoint

Parameters

id
Int32

Id of the breakpoint you want.

runspaceId
Nullable<Int32>

The runspace id of the runspace you want to interact with. A null value will use the current runspace.

Returns

Applies to

GetBreakpoint(Int32)

Get a breakpoint by id in the current runspace, primarily for Enable/Disable/Remove-PSBreakpoint cmdlets.

public System.Management.Automation.Breakpoint GetBreakpoint (int id);
member this.GetBreakpoint : int -> System.Management.Automation.Breakpoint
Public Function GetBreakpoint (id As Integer) As Breakpoint

Parameters

id
Int32

Id of the breakpoint you want.

Returns

Applies to