From f85697d037195f052d1746442b13587f1a0be77e Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Thu, 15 Jan 2026 08:57:54 +0100 Subject: [PATCH] Debugger fix --- src/backup/todo.txt | 5 ----- src/text_editor/remedybg_plugin.cpp | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/backup/todo.txt b/src/backup/todo.txt index aabc591..9ddad41 100644 --- a/src/backup/todo.txt +++ b/src/backup/todo.txt @@ -4,14 +4,9 @@ - Buffer edit history separate from caret history (tagging history blocks with carets???) - We need regex for: [FormatCode matching, IsCode matching, - Macros -- ctrl-e started doing no-ops again ... ?? - Window position: vscode opens in fullscreen and then remembers what position it was close in (could be a config option) - On Linux: Try to implement is_debugger_present() -- Probably shouldn't emit (Key pressed when ctrl etc. is not clicked!!) -- OnUpdate view hooks! -- OnSave buffer hooks which will execute the config on save -- Make the special view hooks also available for modification and registered but maybe under different name or something - Maybe IPC for te.exe when it's already open and file arguments are passed it should perhaps open a buffer in current window?? Use session 4 diff --git a/src/text_editor/remedybg_plugin.cpp b/src/text_editor/remedybg_plugin.cpp index d9ec62e..44db089 100644 --- a/src/text_editor/remedybg_plugin.cpp +++ b/src/text_editor/remedybg_plugin.cpp @@ -2250,8 +2250,7 @@ void CMD_AddBreakpoint(HookParam param) { } RegisterCommand(CMD_AddBreakpoint, "f9", "Add a breakpoint at filename + line"); void HOOK_QuitDebugger(HookParam param) { - bool conn = RDBG_InitConnection(); - if (!conn) { + if (RDBG_Ctx.command_pipe_handle == NULL) { return; }