Partager via


Debugger.DisableBreakpoint Method

Definition

Overloads

DisableBreakpoint(Breakpoint)

Disables a breakpoint in the debugger in the current runspace.

DisableBreakpoint(Breakpoint, Nullable<Int32>)

Disables a breakpoint in the debugger.

DisableBreakpoint(Breakpoint)

Disables a breakpoint in the debugger in the current runspace.

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

Parameters

breakpoint
Breakpoint

The breakpoint to enable in the debugger. This value may not be null.

Returns

The updated breakpoint if it was found; null if the breakpoint was not found in the debugger.

Applies to

DisableBreakpoint(Breakpoint, Nullable<Int32>)

Disables a breakpoint in the debugger.

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

Parameters

breakpoint
Breakpoint

The breakpoint to enable in 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

The updated breakpoint if it was found; null if the breakpoint was not found in the debugger.

Applies to