| Summary: | system thread filter loses selection/collapses on first invocation | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Darin Wright <darin.eclipse> | ||||||||||||||
| Component: | Debug | Assignee: | Kevin Barnes <cocoakevin> | ||||||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||||||
| Severity: | normal | ||||||||||||||||
| Priority: | P3 | ||||||||||||||||
| Version: | 3.2 | ||||||||||||||||
| Target Milestone: | 3.2 RC2 | ||||||||||||||||
| Hardware: | PC | ||||||||||||||||
| OS: | Windows XP | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
*** This bug has been marked as a duplicate of 126379 *** This one is not a dup. The problem with thread groups is slightly different as turning on thread groups changes tree paths making selection maintenance more difficult. Created attachment 39118 [details]
patch
The patch simiplifies model/viewer interaction and maintains selection when refreshing/filtering.
Marking as RC2 candidate. Applied to HEAD. Please verify changes are OK with table viewer/memory view. Please verify, Samantha. We have seen some worse behavior in the debug view - missing threads/frames. Created attachment 39194 [details]
patch
This patch undoes the model/viewer interaction changes but keeps other important fixes.
After applying the undo patch, I am starting to see lots of threads being created again. I am testing with a testcase with many variables. The latest fix seems to have slowed down the debugger again. Created attachment 39201 [details]
patch
I backed out the changes and created a patch for the changes that were backed out.
Created attachment 39227 [details]
Latest patch
Created attachment 39265 [details]
Latest patch with debug flags/output
Created attachment 39347 [details]
Latest patch
Fixed (changes are in the latest patch). Changed view/model interaction to not dispose nodes in the model that have not been removed when children are set (so the frame of the suspended thread remains in the model in this case). Viewer now uses clears/setItemCount instead of disposing items. Please verify, Kevin. verified |
I20060208 * launch workspace (show system threads is persisted as "off") * debug to a breakpoint in debug perspective * thread suspends/selects > filter kicks in and refreshes the view collapsing the thread and losing the selection