From: Toni Wilen Date: Sun, 19 Aug 2018 15:43:15 +0000 (+0300) Subject: Check and set debugger state when tracing STOP. X-Git-Tag: 4100~118 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=1ad4b28b42905879aa25d4adb0e2b4660146ad83;p=francis%2Fwinuae.git Check and set debugger state when tracing STOP. --- diff --git a/newcpu.cpp b/newcpu.cpp index 8a65e208..4cd13547 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -4888,8 +4888,10 @@ static int do_specialties (int cycles) unset_special(SPCFLAG_BRK); #ifdef DEBUGGER if (stopped_debug && !regs.stopped) { - debugger_active = 1; - stopped_debug = false; + if (debugging) { + debugger_active = 1; + stopped_debug = false; + } } if (debugging) { if (!stopped_debug)