Debugger.EnableBreakpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.