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
-
ScriptCodeEditDebugCodeEdit
- Implements
-
IScriptEdit
Constructors
- DebugCodeEdit()
Initializes a new instance of the
DebugCodeEdit
class with default settings.
Fields
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.
- BreakpointDeleted(Breakpoint)
Updates line styles when given breakpoint is deleted.
- BreakpointStateChanged(Breakpoint)
Updates line styles when given breakpoint state changes.
- 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.
- ExecutionStopped(ExecutionPosition)
Updates line styles when debugging is paused.
- 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.
- OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
- SwitchStackFrame(StackFrame, ExecutionPosition)
Updates line styles when the debugger switches to the stack frame.
- UpdateBreakpoints()
Updates its breakpoint content (line styles) from the debugger's breakpoint collection.
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.