mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 01:06:01 +02:00
Fix for bug 74043: Overaggressive exception reporting?
This commit is contained in:
parent
ec30347dee
commit
d161b57251
2 changed files with 10 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-12-01 Mikhail Khodjaiants
|
||||
Fix for bug 74043: Overaggressive exception reporting?
|
||||
* CBreakpointManager.java
|
||||
|
||||
2004-11-26 Mikhail Khodjaiants
|
||||
Fix for bug 79608: NPE in CValue.
|
||||
* CValue.java
|
||||
|
|
|
@ -406,7 +406,7 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
|||
cdiBreakpoint.setEnabled( false );
|
||||
}
|
||||
catch( CDIException e ) {
|
||||
DebugPlugin.log( e );
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -500,9 +500,7 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
|||
cdiTarget.deleteAllBreakpoints();
|
||||
}
|
||||
catch( CDIException e ) {
|
||||
// Do we care ?
|
||||
// No, we don't.
|
||||
// CDebugCorePlugin.log( e.getMessage() );
|
||||
// ignore
|
||||
}
|
||||
ICBreakpoint[] breakpoints = getBreakpointMap().getAllCBreakpoints();
|
||||
getBreakpointNotifier().breakpointsRemoved( getDebugTarget(), breakpoints );
|
||||
|
@ -754,10 +752,10 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
|||
}
|
||||
}
|
||||
catch( CoreException e ) {
|
||||
DebugPlugin.log( e.getStatus() );
|
||||
// ignore
|
||||
}
|
||||
catch( CDIException e ) {
|
||||
DebugPlugin.log( e );
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -768,7 +766,8 @@ public class CBreakpointManager implements IBreakpointManagerListener, ICDIEvent
|
|||
ICDebugTarget[] tfs = breakpoint.getTargetFilters();
|
||||
result = Arrays.asList( tfs ).contains( target );
|
||||
}
|
||||
catch( CoreException e1 ) {
|
||||
catch( CoreException e ) {
|
||||
// ignore
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue