Debugger Members

Base class for all PowerShell debuggers.This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the Debugger type.

  Name Description
  Debugger Initializes a new instance of the Debugger class.This element is introduced in Windows PowerShell 4.0.
Top

(see also Protected Properties)
 NameDescription
public propertyDebugModeGets the current debugger mode for the Windows PowerShell debugger.This element is introduced in Windows PowerShell 4.0.
public propertyInBreakpointWhether the debugger is stopped at a breakpoint.This element is introduced in Windows PowerShell 5.0.
public propertyInstanceIdGets the InstanceId.This element is introduced in Windows PowerShell 5.0.
public propertyIsActiveWhether the debugger is active and has breakpoints set.Introduced in Windows PowerShell 4.0.
Top

  Name Description
protected property DebuggerStopped Whether the DebuggerStop event is raised.This element is introduced in Windows PowerShell 4.0.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetCallStackReturns an IEnumerable of CallStackFrame objects.Introduced in Windows PowerShell 4.0.
public methodGetDebuggerStopArgsReturns current debugger stop event arguments if debugger is in debug stop state. Otherwise returns null.This element is introduced in Windows PowerShell 4.0.
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodProcessCommandEvaluates provided command either as a debugger specific command or a PowerShell command.Introduced in Windows PowerShell 4.0.
public methodResetCommandProcessorSourceResets the command processor source information. The source information is then updated with latest information on the next debug stop.This element is introduced in Windows PowerShell 5.0.
public methodSetBreakpointsAdds the provided set of breakpoints to the debugger.Introduced in Windows PowerShell 4.0.
public methodSetDebuggerActionStops the debugger and specifies how the debugger will resume execution. Introduced in Windows PowerShell 4.0.
public methodSetDebuggerStepModeSets debugger stepping mode.This element is introduced in Windows PowerShell 5.0.
public methodSetDebugModeSets the debugger mode.This element is introduced in Windows PowerShell 4.0.
public methodSetParentOverloaded. Sets the parent debugger and breakpoints.This element is introduced in Windows PowerShell 5.0.
public methodStopProcessCommandReturns current debugger stop event arguments if debugger is in debug stop state; otherwise returns null.This element is introduced in Windows PowerShell 4.0.
public methodToString  (Inherited from Object)
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodIsDebuggerBreakpointUpdatedEventSubscribedWhether the debugger is suscribed to the BreakpointUpdated event.This element is introduced in Windows PowerShell 5.0.
protected methodIsDebuggerStopEventSubscribedWhether the Debugger class subscribes to the DebuggerStop event.This element is introduced in Windows PowerShell 4.0.
protected methodMemberwiseClone  (Inherited from Object)
protected methodRaiseBreakpointUpdatedEventRaises the BreakpointUpdated event when a breakpoint is updated.This element is introduced in Windows PowerShell 4.0.
protected methodRaiseDebuggerStopEventRaises the DebuggerStop event when Windows PowerShell stops execution of a script and enters the debugger.This element is introduced in Windows PowerShell 4.0.
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top

  Name Description
public event BreakpointUpdated Event raised when the breakpoint is updated, such as when it is enabled or disabled. This class is introduced in Windows PowerShell 2.0.
public event DebuggerStop Event raised when the debugger hits a breakpoint or a step.This event is introduced in Windows PowerShell 2.0.
Top


Show: