From 5ce286dea5bc868634fb959a1714873de9ab97bc Mon Sep 17 00:00:00 2001 From: yossizap Date: Sat, 31 Oct 2020 21:32:09 +0000 Subject: [PATCH] Stop existing trace sessions in stopDebug --- src/core/Cutter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index 79231195..bd270464 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -1835,7 +1835,7 @@ void CutterCore::stopDebug() emit debugTaskStateChanged(); if (currentlyEmulating) { - cmdEsil("aeim-; aei-; wcr; .ar-"); + cmdEsil("aeim-; aei-; wcr; .ar-; aets-"); currentlyEmulating = false; } else if (currentlyAttachedToPID != -1) { // Use cmd because cmdRaw would not work with command concatenation