PSDebugContext Class

Definition

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>)

Initializes a new instance of the PSDebugContext class.

PSDebugContext(InvocationInfo, List<Breakpoint>, Object)

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.

Applies to