From d161b572519701578f60d182033930cbbb49323c Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Wed, 1 Dec 2004 17:56:24 +0000 Subject: [PATCH] Fix for bug 74043: Overaggressive exception reporting? --- debug/org.eclipse.cdt.debug.core/ChangeLog | 4 ++++ .../cdt/debug/internal/core/CBreakpointManager.java | 13 ++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index bd121da62b9..d866cce7ed9 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -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 diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java index 6ed77e1e1b3..f6285340d8a 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.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; }