|
| | LuaDebuggerDialog (QWidget *parent=nullptr) |
| | Construct the dialog and initialize all child widgets.
|
| |
|
| ~LuaDebuggerDialog () |
| | Destroy the dialog and disconnect debugger callbacks.
|
| |
| void | handlePause (const char *file_path, int64_t line) |
| | React to the debugger pausing execution at a breakpoint.
|
| |
|
void | reject () override |
| | Close from Esc or programmatic reject(); queues close() so closeEvent() runs (unsaved-scripts prompt matches the window close button). The base QDialog::reject() hides via done() and skips closeEvent(); synchronous close() from Esc can fail to close.
|
| |
|
void | addWatchFromSpec (const QString &watchSpec) |
| | Add a watch from an expression/path spec without opening the inline editor. Convenience used by the editor right-click menu and by the Variables panel context menu.
|
| |
|
LuaDebuggerChangeHighlightTracker & | changeHighlight () |
| | Borrowed reference to the change-highlight tracker. Used by controllers that compute "changed since last pause" cues without having to friend the dialog.
|
| |
|
LuaDebuggerStackController & | stackController () |
| | Borrowed reference to the stack controller. Used by Watch / Variables / Eval to read the currently inspected stack frame without friending the dialog.
|
| |
|
bool | isDebuggerPaused () const |
| | True while the dialog is in a pause-entry / nested event-loop UI. Mirrors the C side's wslua_debugger_is_paused on most paths but is updated from a different code path; controllers that need the Qt-side flag read it via this accessor.
|
| |
|
bool | changeHighlightAllowed () const |
| | Combined "is the change-highlight cue allowed for paint this
pass?" gate. Reads the tracker policy with the active stack selection level; centralised here so callers do not have to thread the level themselves.
|
| |
|
void | applyChangedVisuals (QStandardItem *valueCell, bool changed) |
| | Stamp valueCell with the change-highlight visuals; the dialog supplies itself as the timer owner so the one-shot row flash gets cleaned up if the dialog is destroyed.
|
| |
|
QKeySequence | addWatchShortcut () const |
| | Shortcut bound to the Add Watch toolbar action. Watch / Variables context menus mirror it on their "Add Watch" entries.
|
| |
|
QString | pausedFile () const |
| | Source file path (normalized) of the line the debugger is paused on; empty when not paused. Paired with pausedLine.
|
| |
|
qlonglong | pausedLine () const |
| | Line number of the pause; zero when the debugger is not paused. Paired with pausedFile.
|
| |
|
QCheckBox * | enabledToggle () |
| | Borrowed reference to the toggle that mirrors the core's enable/disable state; the reload coordinator round-trips it across a forced-on reload.
|
| |
|
QString | normalizedFilePath (const QString &file_path) const |
| | Normalize a path by trimming prefixes and resolving symbolic components. Public so controllers and the capture-suppression helper can canonicalise paths without friending the dialog.
|
| |
|
void | refreshDebuggerStateUi () |
| | Refresh checkbox sync + all debugger state chrome/widgets.
|
| |
|
void | updateWidgets () |
| | Update all widgets based on the current debugger state.
|
| |
|
void | ensureDebuggerEnabledForActiveBreakpoints () |
| | Enable the debugger if any active breakpoint requires it.
|
| |
|
void | refreshVariablesForCurrentStackFrame () |
| | Rebuild the variables tree after the stack frame for inspection changed.
|
| |
|
void | syncVariablesTreeToCurrentWatch () |
| | Select the Variables row matching the current Watch row, or clear the Variables selection when no match exists.
|
| |
|
void | updateLuaEditorAuxFrames () |
| | Point find / goto bars at the active code tab.
|
| |
|
void | updateContinueActionState () |
| | Enable or disable the Continue action based on debugger state.
|
| |
|
void | clearPausedStateUi () |
| | Remove paused-state UI artifacts like stacks and highlights.
|
| |
|
void | setSaveActionEnabled (bool enabled) |
| | Toggle the toolbar Save Script action's enabled state. Surfaced as a typed setter so the code-tabs controller does not need to reach into the dialog's QAction members.
|
| |
|
bool | tearDownPauseLoopForReload () |
| | Tear down an active pause loop because the Lua engine is about to be reloaded under us. Returns true if a pause loop was active (the caller may need to defer follow-up work to the post-reload phase). Unlike resumeDebuggerAndExitLoop, the engine is NOT signalled to continue; the reload owns restarting the VM.
|
| |
|
Borrowed references to the dialog's per-panel controllers. Returned by reference because the controllers are direct (non-pointer) members of the dialog and have the same lifetime as the dialog itself. Callers must not store these references past the dialog's destruction.
|
|
LuaDebuggerVariablesController & | variablesController () |
| |
|
LuaDebuggerCodeTabsController & | codeTabsController () |
| |
|
LuaDebuggerFilesController & | filesController () |
| |
|
LuaDebuggerWatchController & | watchController () |
| |
|
LuaDebuggerBreakpointsController & | breakpointsController () |
| |
|
LuaDebuggerPauseController & | pauseController () |
| |
|
LuaDebuggerLuaReloadCoordinator & | reloadCoordinator () |
| |
|
LuaDebuggerEvalController & | evalController () |
| |
|
LuaDebuggerFontPolicy & | fontPolicy () |
| |
|
| GeometryStateDialog (QWidget *parent, Qt::WindowFlags f=Qt::Window) |
| |
|
void | setWindowModality (Qt::WindowModality windowModality) |
| |
Top-level dialog hosting the Lua debugger UI components.