Table of Contents

Class DebuggerControlToolBarView

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

Represents a toolbar view for controlling debugger operations, providing buttons for common debugging actions such as starting, stopping, stepping, and evaluating.

public class DebuggerControlToolBarView : SimpleToolBarView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance
DebuggerControlToolBarView
Implements

Remarks

This class provides a set of toolbar buttons that interact with a debugger instance to perform various debugging tasks. The toolbar buttons are dynamically enabled or disabled based on the current state of the debugger. Users can customize the allowed debugger commands and attach a debugger instance to process commands.

Constructors

DebuggerControlToolBarView()

Initializes a new instance of the DebuggerControlToolBarView class.

Fields

ColorImages

Indicates whether images should be displayed in color.

ResPrefix

Represents the prefix used to locate embedded SVG resources within the application.

Properties

AllowedDebuggerCommands

Gets or sets an allowed commands.

ButtonIdBreakAll
ButtonIdCompile
ButtonIdEvaluate
ButtonIdRunToCursor
ButtonIdStartDebug
ButtonIdStartNoDebug
ButtonIdStepInto
ButtonIdStepOut
ButtonIdStepOver
ButtonIdStopDebuging
CommandsListener

Gets or sets a list of the Debugger commands for the Debugger UI.

Debugger

Gets or sets IScriptDebuggerBase which commands will be processed by this toolbar.

DefaultCommands

Gets IDebuggerUICommands processed by this toolbar.

Methods

AddButton(string, string, Action?, LightDarkColor?)
AddButtonBreakAll()
AddButtonCompile()
AddButtonEvaluate()
AddButtonRunToCursor()
AddButtonStartDebug()
AddButtonStartNoDebug()
AddButtonStepInto()
AddButtonStepOut()
AddButtonStepOver()
AddButtonStopDebugging()
Localize()

Localizes string resources.

OnAllowedDebuggerCommandsChanged()
ShouldSerializeAllowedDebuggerCommands()

Indicates whether the AllowedDebuggerCommands property should be persisted.

Events

DebuggerPreStartup

Occurs when the execution of a program is started.