Add comprehensive logging for Ghidra startup diagnostics

- Capture and log both stdout and stderr from Ghidra/pyghidra at info level
- Log the full command being executed for debugging
- Spawn separate thread to capture stderr while reading stdout
- Include stderr output in error messages when bridge fails to start
- Change default log level from debug to info so logs are visible without RUST_LOG

This helps diagnose issues like missing system libraries (e.g., libXtst.so.6
on WSL/Linux) which previously caused cryptic failures.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alexander Kiselev
2026-02-04 03:09:01 -08:00
co-authored by Claude Opus 4.5
parent 9c189a32e9
commit beb78c2b03
2 changed files with 1600 additions and 1567 deletions
+508 -477
View File
File diff suppressed because it is too large Load Diff
+1092 -1090
View File
File diff suppressed because it is too large Load Diff