1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 103567: breakpoints view of of sync w/CDT CVS HEAD.

This commit is contained in:
Mikhail Khodjaiants 2005-07-28 17:49:05 +00:00
parent ceb1591cf9
commit fb81386aa2
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2005-07-28 Mikhail Khodjaiants
Bug 103567: breakpoints view of of sync w/CDT CVS HEAD
* CBreakpointManager.java
2005-07-26 Mikhail Khodjaiants
Bug 105224: Two identical directory source container types.
* plugin.properties

View file

@ -228,8 +228,11 @@ public class CBreakpointManager implements IBreakpointsListener, IBreakpointMana
ArrayList list = new ArrayList( breakpoints.length );
synchronized( getBreakpointMap() ) {
for ( int i = 0; i < breakpoints.length; ++i ) {
if ( breakpoints[i] instanceof ICBreakpoint && !getBreakpointMap().isInProgress( (ICBreakpoint)breakpoints[i] ) )
list.add( getBreakpointMap().getCDIBreakpoint( (ICBreakpoint)breakpoints[i] ) );
if ( breakpoints[i] instanceof ICBreakpoint && !getBreakpointMap().isInProgress( (ICBreakpoint)breakpoints[i] ) ) {
ICDIBreakpoint b = getBreakpointMap().getCDIBreakpoint( (ICBreakpoint)breakpoints[i] );
if ( b != null )
list.add( b );
}
}
}
if ( list.isEmpty() )