-display disabled breakpoints with separate icon

-toggling disabled breakpoints will enable them
-confirmation on toggling breakpoints with a custom condition
This commit is contained in:
Kingcom committed 2013-07-10 10:56:03 +02:00
1 parent 9a65263230
commit 0eeebf5221
4 files changed
+39 -10

No files matched your search

+8
View File
@@ -78,6 +78,14 @@ bool CBreakPoints::IsAddressBreakPoint(u32 addr)
return bp != INVALID_BREAKPOINT && breakPoints_[bp].enabled;
}
bool CBreakPoints::IsAddressBreakPoint(u32 addr, bool* enabled)
{
size_t bp = FindBreakpoint(addr);
if (bp == INVALID_BREAKPOINT) return false;
if (enabled != NULL) *enabled = breakPoints_[bp].enabled;
return true;
}
bool CBreakPoints::IsTempBreakPoint(u32 addr)
{
size_t bp = FindBreakpoint(addr, true, true);