Breakpoint window

This commit is contained in:
Kingcom committed 2013-07-02 00:20:19 +02:00
1 parent 0adc9c560b
commit 15eb8c8657
8 files changed
+352 -3

No files matched your search

+11 -3
View File
@@ -11,6 +11,7 @@
#include "Debugger_Disasm.h"
#include "Debugger_VFPUDlg.h"
#include "DebuggerShared.h"
#include "BreakpointWindow.h"
#include "../main.h"
#include "CtrlRegisterList.h"
@@ -655,9 +656,16 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
Core_WaitInactive(200);
}
u32 start;
if (executeExpressionWindow(m_hDlg,cpu,start))
CBreakPoints::AddMemCheck(start, 0, MEMCHECK_READWRITE, MEMCHECK_BOTH);
BreakpointWindow bpw(m_hDlg,cpu);
if (bpw.exec())
{
if (bpw.isMemoryBreakpoint())
{
bpw.addMemcheck();
} else {
bpw.addBreakpoint();
}
}
if (isRunning)
{