Table of Contents

Class DebugCodeEdit

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

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

public class DebugCodeEdit : ScriptCodeEdit, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISyntaxEdit, ISearch, ITextSearch, IEditNotifier, INotifier, ICaret, IEditNavigate, INavigate, IEdit, IUpdate, IWordWrap, ITextExport, IExport, ITextImport, IImport, ICodeCompletion, IFindReferences, IRecordPlayBack, ISplitView, IAutoCorrect, IDebugEdit, IScriptEdit, IControl
Inheritance
ScriptCodeEdit
DebugCodeEdit
Implements
IScriptEdit

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 SyntaxEdit 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(object, EventArgs)
DoFindReferences(object, EventArgs)
DoGotoDefinition(object, EventArgs)
DoSetNextStatement(object, EventArgs)
DoToggleBreakpoint(object, EventArgs)
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.

OnDebuggerChanged(IScriptDebuggerBase, IScriptDebuggerBase)
OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnNeedCompletion(CodeCompletionArgs)
PopupDefaultMenu(Point)
PositionChanged(UpdateReason, int, int)
ShowDataTip(CodeCompletionArgs, string)
SwitchStackFrame(StackFrame, ExecutionPosition)

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

ToggleBreakpoint(bool)
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.