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 166216 Details for
Bug 310657
Terminated thread covers existing node in debug view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
fix
scripts-node.patch (text/plain), 1.30 KB, created by
Michael Rennie
on 2010-04-27 12:28:38 EDT
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Michael Rennie
Created:
2010-04-27 12:28:38 EDT
Size:
1.30 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.jsdt.debug.ui >Index: src/org/eclipse/wst/jsdt/debug/internal/ui/adapters/JavaScriptThreadHandler.java >=================================================================== >RCS file: /cvsroot/webtools/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.ui/src/org/eclipse/wst/jsdt/debug/internal/ui/adapters/JavaScriptThreadHandler.java,v >retrieving revision 1.3 >diff -u -r1.3 JavaScriptThreadHandler.java >--- src/org/eclipse/wst/jsdt/debug/internal/ui/adapters/JavaScriptThreadHandler.java 21 Apr 2010 03:10:22 -0000 1.3 >+++ src/org/eclipse/wst/jsdt/debug/internal/ui/adapters/JavaScriptThreadHandler.java 27 Apr 2010 16:27:52 -0000 >@@ -48,6 +48,9 @@ > * @see org.eclipse.debug.internal.ui.viewers.update.ThreadEventHandler#indexOf(org.eclipse.debug.core.model.IThread) > */ > protected int indexOf(IThread thread) { >+ if(thread.isTerminated()) { >+ return -1; >+ } > return super.indexOf(thread) + getOffset(thread); > } > >@@ -65,7 +68,7 @@ > numThreads = debugTarget.getThreads().length + offset; > } catch (DebugException e) { > } >- return newdelta.addNode(debugTarget, indexOf(children, debugTarget) + offset, IModelDelta.NO_CHANGE, numThreads); >+ return newdelta.addNode(debugTarget, indexOf(children, debugTarget), IModelDelta.NO_CHANGE, numThreads); > } > > /**
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 310657
:
166213
| 166216