Community
Participate
Working Groups
profiling an annoying OOE I stumbled across an inspection telling me I had 608 duplicates of the string "org.eclipse.wst.jsdt.debug.model". When I dug into this I found that at workbench startup 608 global suspend breakpoints were restored from meta data for us. Steps 1. simplest way - put a breakpoint in BreakpointManager.loadBreakpoints(IResource resource, boolean notify) line 273 when you start a target workspace 2. start target workspace and remove all breakpoints 3. open the launch dialog to load the JSDT debug plugins 4. shut down the target workspace 5. restart the target workspace with the breakpoint set as in step 1 6. notice you have exactly one more global suspend breakpoint than you had last time Expected: there should only be one script load breakpoint with the global_suspend attribute set Happens In my case there were 607 too many of them.
Created attachment 177021 [details] fix The patch does two things: 1. prevents either of the singleton breakpoints from being persisted again 2. adds a check in the stop method to ensure they have been cleaned up
Curtis, please give the patch a whirl
applied patch to HEAD
+1 Verified