Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2002-05-17 20:34:49 +0000
committerJared Burns2002-05-17 20:34:49 +0000
commit57040708392b38c6a544cda8a33ebba7d2ecd6e9 (patch)
treeaadd369cd62c4a9cb20d514ff35068cff8b6bc00
parent92d3223fae73e49e08eb4f7cab81cfb12dc11a12 (diff)
downloadeclipse.platform.debug-57040708392b38c6a544cda8a33ebba7d2ecd6e9.tar.gz
eclipse.platform.debug-57040708392b38c6a544cda8a33ebba7d2ecd6e9.tar.xz
eclipse.platform.debug-57040708392b38c6a544cda8a33ebba7d2ecd6e9.zip
Bug 16252 - DebugException: Marker id: 19 not found
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java
index 73d882d24..286d630cf 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointManager.java
@@ -110,8 +110,6 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis
* the debug plugin.
*/
public void startup() throws CoreException {
- initBreakpointExtensions();
- deleteNonPersistedBreakpoints(ResourcesPlugin.getWorkspace().getRoot());
getWorkspace().addResourceChangeListener(this);
}
@@ -121,6 +119,8 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis
* @param resource the resource which contains the breakpoints
*/
private void loadBreakpoints(IResource resource) throws CoreException {
+ initBreakpointExtensions();
+ deleteNonPersistedBreakpoints(ResourcesPlugin.getWorkspace().getRoot());
IMarker[] markers= resource.findMarkers(IBreakpoint.BREAKPOINT_MARKER, true, IResource.DEPTH_INFINITE);
for (int i = 0; i < markers.length; i++) {
IMarker marker= markers[i];
@@ -224,9 +224,7 @@ public class BreakpointManager implements IBreakpointManager, IResourceChangeLis
initializeBreakpoints();
}
return fBreakpoints;
- }
-
-
+ }
/**
* @see IBreakpointManager#getBreakpoints(String)

Back to the top