a1645d34f369f0db7142b16b1f74d277f2cda518
(c) step_out() in main() degraded to Continue instead of failing with "finish not meaningful in the outermost frame." (d) Stop on a GUI app in gtk_main: enable mi-async in spawn_gdb and fall back through MI interrupt, SIGINT and SIGSTOP to the inferior pid; kill_target() also tells gdb to drop a stopped inferior it never reported dead (console kill), or -file-exec-and-symbols fails with "Couldnt get registers". (e) New restart_or_start(): same target+args restarts, otherwise kills the stopped inferior and starts the new target (Run must honour the Target field). (f) Breakpoints gain a temporary flag: break-on-main bps are skipped on re-apply, never saved, and never added twice. Tests: step_out_in_main_degrades_to_continue, break_on_main_no_duplicate_on_second_start, break_on_main_no_duplicate_after_load, restart_or_start_switches_target, gtk_interrupt_running_app (new gtkspin target); lib.rs documents all 8 bugs and the Rust port stance on each. (a)(b)(g)(h) are UI bugs and there is no debugger UI in the Rust designer yet.
lightgui_rust — LightGUI ported to Rust
Rust port of LightGUI
(HEAD eb0b5fc): an XFrame-native form designer with 547 XFrame widgets.
See PORTING_PLAN.md for the survey and module map.
Workspace
| Crate | C++ source | Status |
|---|---|---|
crates/lightgui-core |
src/model.h, src/props.h, src/events.h, src/project_io.cpp, canonicalize() in src/main.cpp |
done |
crates/lightgui-gen |
src/generator.cpp / src/generator.h (emits C++/XFrame, byte-identical) |
done |
crates/lightgui-debug |
src/debugger.cpp / src/debugger.h (GDB/MI) |
in progress |
crates/lightgui-support |
data extraction (registry, palette, indicators) | in progress |
probe/ is the step-0 crates.io probe (standalone, excluded from the
workspace). data/ / tools/ are generated data + extraction tooling.
Build / test
cargo test # workspace; rustc/cargo are login-shell-only: use `bash -lc`
cargo build # must be warning-free (the C++ build was zero-warning)
Rust 1.100.1 stable, GTK 3.24 (gtk-rs 0.18), serde/serde_json 1.0.
Docs
docs/stock-charts-csv.md— how the stock chart widgets ingest plotting data (CSV format, per-kind series, clear/populate, limits).
Languages
Rust
92.6%
Python
6.6%
Shell
0.5%
C++
0.2%
Makefile
0.1%