BreakpointListView/SourceView: ignore hidden breakpoints.

This commit is contained in:
Rene Gollent 2013-06-15 14:48:31 -04:00
parent 468c8dfab7
commit 7287380095
2 changed files with 5 additions and 0 deletions

View File

@ -380,6 +380,9 @@ BreakpointListView::UnsetListener()
void
BreakpointListView::UserBreakpointChanged(UserBreakpoint* breakpoint)
{
if (breakpoint->IsHidden())
return;
BreakpointProxy proxy(breakpoint, NULL);
fBreakpointsTableModel->UpdateBreakpoint(&proxy);
}

View File

@ -686,6 +686,8 @@ SourceView::MarkerManager::_UpdateBreakpointMarkers()
for (int32 i = 0; UserBreakpoint* breakpoint = breakpoints.ItemAt(i);
i++) {
if (breakpoint->IsHidden())
continue;
UserBreakpointInstance* breakpointInstance
= breakpoint->InstanceAt(0);
FunctionInstance* functionInstance;