PSDebugContext Class
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.
This class exposes the information about the debugger that is available via $PSDebugContext.
public ref class PSDebugContext
public class PSDebugContext
type PSDebugContext = class
Public Class PSDebugContext
- Inheritance
-
PSDebugContext
Constructors
PSDebugContext(InvocationInfo, List<Breakpoint>, Object) |
Initializes a new instance of the PSDebugContext class. |
PSDebugContext(InvocationInfo, List<Breakpoint>) |
Initializes a new instance of the PSDebugContext class. |
Properties
Breakpoints |
If not empty, indicates that the execution was suspended because one or more breakpoints were hit. Otherwise, the execution was suspended as part of a step operation. |
InvocationInfo |
InvocationInfo of the command currently being executed. |
Trigger |
Gets the object that triggered the current dynamic breakpoint. |