From 3cc24e3ec5c599a331ffe32e72ad2e9acb4d97df Mon Sep 17 00:00:00 2001 From: VALLONGOL Date: Wed, 11 Jun 2025 12:27:30 +0200 Subject: [PATCH] fix error message and details error display --- cpp_python_debug/_version.py | 6 +++--- cpp_python_debug/core/gdb_dumper.py | 2 +- cpp_python_debug/gui/main_window.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp_python_debug/_version.py b/cpp_python_debug/_version.py index a59ec80..d13af87 100644 --- a/cpp_python_debug/_version.py +++ b/cpp_python_debug/_version.py @@ -6,10 +6,10 @@ import re # --- Version Data (Generated) --- -__version__ = "v.0.0.0.29-0-g675a032-dirty" -GIT_COMMIT_HASH = "675a032af46832124bc4f58a855e5595bbcf0432" +__version__ = "v.0.0.0.30-2-g11667ba-dirty" +GIT_COMMIT_HASH = "11667bad057381279787e801f4f2536cdb35b2e6" GIT_BRANCH = "master" -BUILD_TIMESTAMP = "2025-06-10T07:07:10.120869+00:00" +BUILD_TIMESTAMP = "2025-06-11T10:25:53.458947+00:00" IS_GIT_REPO = True # --- Default Values (for comparison or fallback) --- diff --git a/cpp_python_debug/core/gdb_dumper.py b/cpp_python_debug/core/gdb_dumper.py index 1ae0b56..91835b0 100644 --- a/cpp_python_debug/core/gdb_dumper.py +++ b/cpp_python_debug/core/gdb_dumper.py @@ -996,7 +996,7 @@ class GDBDumpJsonCommand(gdb.Command): status_payload.update( { "status": "error", - "message": "Input or GDB evaluation error.", + "message": "GDB error.", "details": str(e_val), } ) diff --git a/cpp_python_debug/gui/main_window.py b/cpp_python_debug/gui/main_window.py index 1c3e3f0..14cedb6 100644 --- a/cpp_python_debug/gui/main_window.py +++ b/cpp_python_debug/gui/main_window.py @@ -535,8 +535,8 @@ class GDBGui(tk.Tk): "breakpoint_spec": 150, "variable": 150, "file": 180, - "status": 80, - "details": 180, + "status": 100, + "details": 600, } minwidths = { "timestamp": 120,