Table of Contents

Class DebugCodeEdit

Namespace
Alternet.Scripter.Integration.Wpf
Assembly
Alternet.Scripter.Integration.Wpf.v9.dll

Represents advanced multi-line text edit control that implements IDebugEdit interface.

public class DebugCodeEdit : ScriptCodeEdit, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, INotifier, ISearch, ITextSearch, IAutoCorrect, INotifyPropertyChanged, IDebugEdit, IScriptEdit
Inheritance
ScriptCodeEdit
DebugCodeEdit
Implements
IScriptEdit
Extension Methods

Constructors

DebugCodeEdit()

Initializes a new instance of the DebugCodeEdit class with default settings.

Fields

BreakpointDisabledStyle
BreakpointStyle
DisabledBookmark
StackBookmark
StackStyle
TraceBookmark
TraceStyle

Properties

AllowedActions

Gets or sets a allowed actions.

DataTipsEnabled

Gets or sets a boolean value indicating whether DataTip functionality is enabled.

Debugger

Gets or sets a IScriptDebuggerBase linked to this control.

SingleEditorDebuggingUI

Gets or sets a boolean value indicating whether single-file script debugging mode is enabled.

Methods

ApplyTheme(IVisualTheme)

Applies visual theme to the TextEditor control.

BlockDeleting(Rectangle)
BreakpointDeleted(Breakpoint)

Updates line styles when given breakpoint is deleted.

BreakpointStateChanged(Breakpoint)

Updates line styles when given breakpoint state changes.

BreakpointsChanged(int)
BreakpointsDeleted(Rectangle)
ClearDebugStyles(ExecutionPosition)

Removes visual styles related to the step-by-step execution at specified position.

ClearStackFrame(StackFrame)

Removes visual styles related to the step-by-step execution at specified position.

DoFindImplementations()
DoFindReferences()
DoGotoDefinition()
DoSetNextStatement()
ExecutionStopped(ExecutionPosition)

Updates line styles when debugging is paused.

GetDataTipParameters(string)
InitDefaultMenu()
JumpToDeclaration()

Finds the declaration of the symbol under the current position and navigates to it.

Localize()

Localizes string resources.

MakeVisible(Point, bool)

Scrolls the control's content, if necessary, to ensure a specified text position is in view.

OnContextMenuOpening(ContextMenuEventArgs)

Invoked whenever an unhandled ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.

OnDebuggerChanged(IScriptDebuggerBase, IScriptDebuggerBase)
OnNeedCompletion(CodeCompletionArgs)
PositionChanged(UpdateReason, int, int)
ShowDataTip(CodeCompletionArgs, string)
SwitchStackFrame(StackFrame, ExecutionPosition)

Updates line styles when the debugger switches to the stack frame.

ToggleBreakpoint(bool)
ToggleCommandClick()
UpdateBreakpoints()

Updates its breakpoint content (line styles) from the debugger's breakpoint collection.

UpdateLexer()
UpdateMenu()

Events

AddToWatchClick

Occurs when a user clicks on the local to add it to the watch window.

BreakpointToggle

Occurs when a given breakpoint is toggled on/off.

FindAllImplementations

Occurs when a user executes Find All Implementations command.

FindAllReferences

Occurs when a user executes Find All References command.

GotoDefinition

Occurs when a user executes Goto Definition command.

SetNextStatement

Occurs when the execution position moves to a different line of code.