Table of Contents

Class CallStackPanel

Namespace
Alternet.Scripter.Debugger.UI.AlternetUI
Assembly
Alternet.Scripter.Debugger.UI.AlternetUI.v10.dll

Represents a panel that displays and manages a debugger's call stack, allowing users to interact with stack frames.

public class CallStackPanel : Panel, INotifyPropertyChanged, ISupportInitialize, IComponent, IDisposable, INotifyDataErrorInfo, IDebuggerCallStackPanel, IDebuggerPanel
Inheritance
CallStackPanel
Implements

Remarks

The CallStackPanel provides functionality for viewing, selecting, and interacting with call stack frames during debugging sessions. It supports options for displaying parameter types, parameter names, and line numbers. Users can switch to specific stack frames, copy stack frame information, or navigate to the source code associated with a frame. This panel integrates with an IScriptDebuggerBase instance to reflect the current state of the debugger.

Constructors

CallStackPanel()

Initializes a new instance of the CallStackPanel class.

Properties

Debugger

Gets or sets IScriptDebuggerBase which stack frames displayed by this user control.

IsLineNumberVisible
IsParameterNameVisible
IsParameterTypeVisible
Options

Gets call stack options.

ResultsTreeView

Gets view with call stack items.

SelectedFrame

Gets a currently selected stack frame.

Methods

Localize()

Localizes string resources.

OnDebuggerChanged(IScriptDebuggerBase?, IScriptDebuggerBase?)

Raised when attached debugger instance is changed.

OnOptionsChanged()

Called when options are changed.

RunCopyCommand()

Runs 'Copy' command.

RunGoToSourceCodeCommand()

Runs 'Go To Source Code' command.

RunSwitchToFrameCommand()

Runs 'Switch To Frame' command.

SetFrames(StackFrame[])

Sets a list of call stack frames to be displayed.

TrySwitchToTopUserStackFrame()

Switches debugging to the given stack frame.

Events

CallStackClick

When implemented by a class, occurs when a user clicks on a call stack frame in the list.

FramesChanged

When implemented by a class, occurs when current stack frame changes.