Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2004-12-01 18:00:29 +0000
committerMikhail Khodjaiants2004-12-01 18:00:29 +0000
commitd262bc917dc74ea6d4342eca5cc3916f5f439aeb (patch)
treeba9bfadc1ca9285925a49435b681aa11c5b73d40
parentbfc70181f5172108edcb2f4bd57dcf3537fe7451 (diff)
downloadorg.eclipse.cdt-d262bc917dc74ea6d4342eca5cc3916f5f439aeb.tar.gz
org.eclipse.cdt-d262bc917dc74ea6d4342eca5cc3916f5f439aeb.tar.xz
org.eclipse.cdt-d262bc917dc74ea6d4342eca5cc3916f5f439aeb.zip
Fix for bug 74043: Overaggressive exception reporting?
-rw-r--r--debug/org.eclipse.cdt.debug.core/ChangeLog4
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java13
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;
}

Back to the top