1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Fix for bug 74043: Overaggressive exception reporting?

This commit is contained in:
Mikhail Khodjaiants 2004-12-01 17:56:24 +00:00
parent ec30347dee
commit d161b57251
2 changed files with 10 additions and 7 deletions

View file

@ -1,3 +1,7 @@
2004-12-01 Mikhail Khodjaiants
Fix for bug 74043: Overaggressive exception reporting?
* CBreakpointManager.java
2004-11-26 Mikhail Khodjaiants 2004-11-26 Mikhail Khodjaiants
Fix for bug 79608: NPE in CValue. Fix for bug 79608: NPE in CValue.
* CValue.java * CValue.java

View file

@ -406,7 +406,7 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
cdiBreakpoint.setEnabled( false ); cdiBreakpoint.setEnabled( false );
} }
catch( CDIException e ) { catch( CDIException e ) {
DebugPlugin.log( e ); // ignore
} }
} }
} }
@ -500,9 +500,7 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
cdiTarget.deleteAllBreakpoints(); cdiTarget.deleteAllBreakpoints();
} }
catch( CDIException e ) { catch( CDIException e ) {
// Do we care ? // ignore
// No, we don't.
// CDebugCorePlugin.log( e.getMessage() );
} }
ICBreakpoint[] breakpoints = getBreakpointMap().getAllCBreakpoints(); ICBreakpoint[] breakpoints = getBreakpointMap().getAllCBreakpoints();
getBreakpointNotifier().breakpointsRemoved( getDebugTarget(), breakpoints ); getBreakpointNotifier().breakpointsRemoved( getDebugTarget(), breakpoints );
@ -754,10 +752,10 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
} }
} }
catch( CoreException e ) { catch( CoreException e ) {
DebugPlugin.log( e.getStatus() ); // ignore
} }
catch( CDIException e ) { catch( CDIException e ) {
DebugPlugin.log( e ); // ignore
} }
} }
} }
@ -768,7 +766,8 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
ICDebugTarget[] tfs = breakpoint.getTargetFilters(); ICDebugTarget[] tfs = breakpoint.getTargetFilters();
result = Arrays.asList( tfs ).contains( target ); result = Arrays.asList( tfs ).contains( target );
} }
catch( CoreException e1 ) { catch( CoreException e ) {
// ignore
} }
return result; return result;
} }