From 553990a25ee7a9e6e9b11d13a52f0448e78e116e Mon Sep 17 00:00:00 2001 From: goeiecool9999 <7033575+goeiecool9999@users.noreply.github.com> Date: Thu, 16 Apr 2026 10:31:04 +0200 Subject: [PATCH] debugger: fix crash when adding breakpoint Checking the item in the event handler that is triggered when an option is checked caused recursion stack overflow fixes: #1876 --- src/gui/wxgui/debugger/BreakpointWindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/wxgui/debugger/BreakpointWindow.cpp b/src/gui/wxgui/debugger/BreakpointWindow.cpp index 64e82c59..9e569a4e 100644 --- a/src/gui/wxgui/debugger/BreakpointWindow.cpp +++ b/src/gui/wxgui/debugger/BreakpointWindow.cpp @@ -155,7 +155,6 @@ void BreakpointWindow::OnBreakpointToggled(wxListEvent& event) DebuggerBreakpoint* bp = (DebuggerBreakpoint*)m_breakpoints->GetItemData(index); const uint32 address = std::stoul(line.ToStdString(), nullptr, 16); debugger_toggleBreakpoint(address, state, bp); - m_breakpoints->CheckItem(index, state); } }