Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 206104 Details for
Bug 345298
[breakpoints] BreakpointManager deadlocks trying to restore breakpoints
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Updated patch.
Bug-345298--breakpoints-Attempting-to-launch-JS-debu.patch (text/plain), 2.20 KB, created by
Pawel Piech
on 2011-10-28 00:16:31 EDT
(
hide
)
Description:
Updated patch.
Filename:
MIME Type:
Creator:
Pawel Piech
Created:
2011-10-28 00:16:31 EDT
Size:
2.20 KB
patch
obsolete
>diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java >index 3fd04ff..6ea9afa 100644 >--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java >+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java >@@ -28,6 +28,7 @@ > import org.eclipse.debug.core.DebugException; > import org.eclipse.debug.core.DebugPlugin; > import org.eclipse.debug.core.IBreakpointManager; >+import org.eclipse.debug.internal.core.BreakpointManager; > import org.eclipse.debug.internal.core.DebugCoreMessages; > > /** >@@ -41,17 +42,21 @@ > > public abstract class Breakpoint extends PlatformObject implements IBreakpoint { > >- static { >- // making sure that the BreakpointManager is correctly initialized >- // before any breakpoint marker related operation (see bug 54993) >- DebugPlugin.getDefault().getBreakpointManager().getBreakpoints(); >- } >- > /** > * Underlying marker. > */ > private IMarker fMarker= null; >- >+ >+ /** >+ * Default constructor used to ensure that breakpoint manager is initialized. >+ */ >+ public Breakpoint() { >+ // making sure that the BreakpointManager is correctly initialized >+ // before any breakpoint marker related operation (see bug 54993) >+ ((BreakpointManager)DebugPlugin.getDefault().getBreakpointManager()).ensureBreakpointsInitialized(); >+ } >+ >+ > /** > * @see IBreakpoint#setMarker(IMarker) > */ >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 4d631c2..cb666a0 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 >@@ -394,6 +394,13 @@ > } > > /** >+ * Calls {@link #initializeBreakpoints()} if breakpoints have not yet been initialized. >+ */ >+ public void ensureBreakpointsInitialized() { >+ getBreakpoints0(); >+ } >+ >+ /** > * The BreakpointManager waits to load the breakpoints > * of the workspace until a request is made to retrieve the > * breakpoints.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 345298
:
195241
|
195244
|
195245
|
195260
|
195261
|
205458
|
206104
|
207048
|
207052