Compartilhar via


VariableBreakpoint Class

Definition

A breakpoint on a variable.

public ref class VariableBreakpoint : System::Management::Automation::Breakpoint
public class VariableBreakpoint : System.Management.Automation.Breakpoint
type VariableBreakpoint = class
    inherit Breakpoint
Public Class VariableBreakpoint
Inherits Breakpoint
Inheritance
VariableBreakpoint

Constructors

VariableBreakpoint(String, String, VariableAccessMode, Int32)

Creates a new instance of a VariableBreakpoint.

VariableBreakpoint(String, String, VariableAccessMode, ScriptBlock, Int32)

Creates a new instance of a VariableBreakpoint.

VariableBreakpoint(String, String, VariableAccessMode, ScriptBlock)

Creates a new instance of a VariableBreakpoint.

VariableBreakpoint(String, String, VariableAccessMode)

Creates a new instance of a VariableBreakpoint.

Properties

AccessMode

The access mode to trigger this variable breakpoint on.

Action

The action to take when the breakpoint is hit.

(Inherited from Breakpoint)
Enabled

Gets whether this breakpoint is enabled.

(Inherited from Breakpoint)
HitCount

Records how many times this breakpoint has been triggered.

(Inherited from Breakpoint)
Id

This breakpoint's Id.

(Inherited from Breakpoint)
Script

The script this breakpoint is on, or null if the breakpoint is not scoped.

(Inherited from Breakpoint)
Variable

Which variable this breakpoint is on.

Methods

ToString()

Gets the string representation of this breakpoint.

Applies to