Delen via


Debugger.SetBreakpoints Method

Definition

Overloads

SetBreakpoints(IEnumerable<Breakpoint>)

Adds the provided set of breakpoints to the debugger, in the current runspace.

SetBreakpoints(IEnumerable<Breakpoint>, Nullable<Int32>)

Adds the provided set of breakpoints to the debugger.

SetBreakpoints(IEnumerable<Breakpoint>)

Adds the provided set of breakpoints to the debugger, in the current runspace.

public:
 virtual void SetBreakpoints(System::Collections::Generic::IEnumerable<System::Management::Automation::Breakpoint ^> ^ breakpoints);
public virtual void SetBreakpoints (System.Collections.Generic.IEnumerable<System.Management.Automation.Breakpoint> breakpoints);
public void SetBreakpoints (System.Collections.Generic.IEnumerable<System.Management.Automation.Breakpoint> breakpoints);
abstract member SetBreakpoints : seq<System.Management.Automation.Breakpoint> -> unit
override this.SetBreakpoints : seq<System.Management.Automation.Breakpoint> -> unit
member this.SetBreakpoints : seq<System.Management.Automation.Breakpoint> -> unit
Public Overridable Sub SetBreakpoints (breakpoints As IEnumerable(Of Breakpoint))
Public Sub SetBreakpoints (breakpoints As IEnumerable(Of Breakpoint))

Parameters

breakpoints
IEnumerable<Breakpoint>

Breakpoints.

Applies to

SetBreakpoints(IEnumerable<Breakpoint>, Nullable<Int32>)

Adds the provided set of breakpoints to the debugger.

public virtual void SetBreakpoints (System.Collections.Generic.IEnumerable<System.Management.Automation.Breakpoint> breakpoints, int? runspaceId);
abstract member SetBreakpoints : seq<System.Management.Automation.Breakpoint> * Nullable<int> -> unit
override this.SetBreakpoints : seq<System.Management.Automation.Breakpoint> * Nullable<int> -> unit
Public Overridable Sub SetBreakpoints (breakpoints As IEnumerable(Of Breakpoint), runspaceId As Nullable(Of Integer))

Parameters

breakpoints
IEnumerable<Breakpoint>

Breakpoints.

runspaceId
Nullable<Int32>

The runspace id of the runspace you want to interact with, null being the current runspace.

Applies to