Bug 310657 - Terminated thread covers existing node in debug view
Summary: Terminated thread covers existing node in debug view
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2 M7   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2010-04-27 11:51 EDT by Michael Rennie CLA
Modified: 2010-04-27 12:29 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (23.25 KB, image/png)
2010-04-27 11:51 EDT, Michael Rennie CLA
no flags Details
fix (1.30 KB, patch)
2010-04-27 12:28 EDT, Michael Rennie CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-04-27 11:51:08 EDT
Created attachment 166213 [details]
screenshot

code from HEAD

Steps:

1. debug the e4.junit javascript tests with global script load suspend enabled
2. enable 'show all scripts' in the debug view
3. step into from each script load suspension
4. eventually you should see the screen shot where a terminated thread is covering the 'Scripts' node

Expected:

terminated threads come and go as expected and do not cover up the Scripts node

Happens:

the Scripts node is 'covered' by the last terminated thread
Comment 1 Michael Rennie CLA 2010-04-27 12:28:38 EDT
Created attachment 166216 [details]
fix

the problem was in computing the offset of the target children when the thread was terminated.
Comment 2 Michael Rennie CLA 2010-04-27 12:29:28 EDT
applied patch to HEAD