- lightgui/debugger.py: PdbSession driving python3 -m pdb in a
subprocess (start/run/restart, break/enable/disable/clear,
continue, step into/over/out, stack, locals, watches, stop).
State machine idle/running/stopped/exited; stop kills the whole
process group (SIGTERM then SIGKILL) so Stop can never hang on a
GUI app; Run from Stopped/Exited restarts with the current target
and re-applies breakpoints; no temp breakpoints (stop-on-entry
uses pdb's natural first stop, break-on-main is persistent).
- lightgui/debugger_ui.py: debugger window mirroring the C layout
(toolbar, Target row, status, breakpoints left, locals/watches/
stack right, output console). Breakpoint pane 420px / 320px
location column; in-place row updates + id-based selection
restore; checkbox toggles apply to the session first; watch and
locals trees have search disabled (no search popup on click).
- lightgui/install_libs.py: Install Libraries flow (package to
system site-packages, launcher to /usr/local/bin, .desktop to
/usr/local/share/applications); pkexec first, sudo -S fallback
with an Enter-submits password dialog; dry-run plan shown in the
dialog. pkexec is not installed on the server (same honest limit
as the C/Rust fix).
- app.py: Debug menu (Start Debugging, Toggle Breakpoint, Step
Into/Over/Out, Continue, Stop) + Tools > Install Libraries;
debugger stop scrolls the Code window to the stopped line.
- tests: 38 new tests (debugger session incl. breakpoint hit,
step over/into/out, locals, watches, continue to end, stop
kills the debuggee, restart from Exited, enable/disable;
install dry-run command construction/file list/paths).
Full suite: 239 tests pass.