From aee9e73a0b65a9ceedbff726129761349f623783 Mon Sep 17 00:00:00 2001 From: Michael Haben Date: Wed, 22 Nov 2023 13:49:42 +0000 Subject: [PATCH] Call Actions.inferior_program_paused() (which causes RightSidebar displays to be updated) if a watchpoint is triggered, as well as when a breakpoint or stepping-range end is hit --- gdbgui/src/js/process_gdb_response.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/gdbgui/src/js/process_gdb_response.tsx b/gdbgui/src/js/process_gdb_response.tsx index ae988e02..a0d290ea 100644 --- a/gdbgui/src/js/process_gdb_response.tsx +++ b/gdbgui/src/js/process_gdb_response.tsx @@ -274,6 +274,7 @@ const process_gdb_response = function(response_array: any) { Actions.inferior_program_exited(); } else if ( r.payload.reason.includes("breakpoint-hit") || + r.payload.reason.includes("watchpoint-trigger") || r.payload.reason.includes("end-stepping-range") ) { if (r.payload["new-thread-id"]) {