Avoid an unlikely error in breakpoint listing.
This commit is contained in:
parent
72f8f9addd
commit
83b8e564cf
1 changed files with 2 additions and 0 deletions
|
@ -320,6 +320,8 @@ void CtrlBreakpointList::reloadBreakpoints()
|
|||
{
|
||||
bool isMemory;
|
||||
int index = getBreakpointIndex(i, isMemory);
|
||||
if (index < 0)
|
||||
continue;
|
||||
|
||||
if (isMemory)
|
||||
SetCheckState(i,(displayedMemChecks_[index].result & MEMCHECK_BREAK) != 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue