다음을 통해 공유


Debugger.EnableBreakpoint Method

Definition

Overloads

EnableBreakpoint(Breakpoint)

Enables a breakpoint in the debugger in the current runspace.

EnableBreakpoint(Breakpoint, Nullable<Int32>)

Enables a breakpoint in the debugger.

EnableBreakpoint(Breakpoint)

Enables a breakpoint in the debugger in the current runspace.

public System.Management.Automation.Breakpoint EnableBreakpoint (System.Management.Automation.Breakpoint breakpoint);
member this.EnableBreakpoint : System.Management.Automation.Breakpoint -> System.Management.Automation.Breakpoint
Public Function EnableBreakpoint (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

EnableBreakpoint(Breakpoint, Nullable<Int32>)

Enables a breakpoint in the debugger.

public virtual System.Management.Automation.Breakpoint EnableBreakpoint (System.Management.Automation.Breakpoint breakpoint, int? runspaceId);
abstract member EnableBreakpoint : System.Management.Automation.Breakpoint * Nullable<int> -> System.Management.Automation.Breakpoint
override this.EnableBreakpoint : System.Management.Automation.Breakpoint * Nullable<int> -> System.Management.Automation.Breakpoint
Public Overridable Function EnableBreakpoint (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