Debugger: Track reason for entering stepping.

This commit is contained in:
Unknown W. Brackets committed 2021-10-23 16:56:15 -07:00
1 parent 067f45d560
commit 2bd13c5d9d
16 files changed
+75 -63

No files matched your search

+2 -2
View File
@@ -420,7 +420,7 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
if (isRunning)
{
SetDebugMode(true, false);
Core_EnableStepping(true);
Core_EnableStepping(true, "cpu.breakpoint.add", 0);
Core_WaitInactive(200);
}
@@ -523,7 +523,7 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
{
ptr->setDontRedraw(false);
SetDebugMode(true, true);
Core_EnableStepping(true);
Core_EnableStepping(true, "ui.break", 0);
Sleep(1); //let cpu catch up
ptr->gotoPC();
UpdateDialog();