Aracılığıyla paylaş


Debugger.RemoveBreakpoint Method

Definition

Overloads

RemoveBreakpoint(Breakpoint)

Removes a breakpoint from the debugger in the current runspace.

RemoveBreakpoint(Breakpoint, Nullable<Int32>)

Removes a breakpoint from the debugger.

RemoveBreakpoint(Breakpoint)

Removes a breakpoint from the debugger in the current runspace.

public bool RemoveBreakpoint (System.Management.Automation.Breakpoint breakpoint);
member this.RemoveBreakpoint : System.Management.Automation.Breakpoint -> bool
Public Function RemoveBreakpoint (breakpoint As Breakpoint) As Boolean

Parameters

breakpoint
Breakpoint

The breakpoint to remove from the debugger. This value may not be null.

Returns

True if the breakpoint was removed from the debugger; false otherwise.

Applies to

RemoveBreakpoint(Breakpoint, Nullable<Int32>)

Removes a breakpoint from the debugger.

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

Parameters

breakpoint
Breakpoint

The breakpoint to remove from the debugger. This value may not be null.

runspaceId
Nullable<Int32>

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

Returns

True if the breakpoint was removed from the debugger; false otherwise.

Applies to