Partager via


Debugger.GetBreakpoints Method

Definition

Overloads

GetBreakpoints()

Returns breakpoints in the current runspace, primarily for the Get-PSBreakpoint cmdlet.

GetBreakpoints(Nullable<Int32>)

Returns breakpoints primarily for the Get-PSBreakpoint cmdlet.

GetBreakpoints()

Returns breakpoints in the current runspace, primarily for the Get-PSBreakpoint cmdlet.

public System.Collections.Generic.List<System.Management.Automation.Breakpoint> GetBreakpoints ();
member this.GetBreakpoints : unit -> System.Collections.Generic.List<System.Management.Automation.Breakpoint>
Public Function GetBreakpoints () As List(Of Breakpoint)

Returns

Applies to

GetBreakpoints(Nullable<Int32>)

Returns breakpoints primarily for the Get-PSBreakpoint cmdlet.

public virtual System.Collections.Generic.List<System.Management.Automation.Breakpoint> GetBreakpoints (int? runspaceId);
abstract member GetBreakpoints : Nullable<int> -> System.Collections.Generic.List<System.Management.Automation.Breakpoint>
override this.GetBreakpoints : Nullable<int> -> System.Collections.Generic.List<System.Management.Automation.Breakpoint>
Public Overridable Function GetBreakpoints (runspaceId As Nullable(Of Integer)) As List(Of Breakpoint)

Parameters

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