PSDebugContext Class

Definition

This class exposes the information about the debugger that is available via $PSDebugContext

public class PSDebugContext
Inheritance
PSDebugContext

Constructors

PSDebugContext(InvocationInfo, List<Breakpoint>)

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