Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 140559 - [views] debug view does not scroll to suspended thread
Summary: [views] debug view does not scroll to suspended thread
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 149727 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-08 09:26 EDT by Darin Wright CLA
Modified: 2006-08-28 22:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2006-05-08 09:26:14 EDT
From bug 140478:

"Second, sometimes, when a breakpoint is hit, the debug view does not scroll to
the suspended thread to show the call stack. Also when the suspended thread is
not visible, the variables view is empty. I have to scroll down to the suspeded
thread and only when it appears in the debug view I see the variables in the
variables view."
Comment 1 Darin Wright CLA 2006-05-08 09:30:07 EDT
Reported against 3.2RC3.

Screen shot's or test case would be helpful. Were you debugging an Eclipse workbench? were there many threads?
Comment 2 Genady Beryozkin CLA 2006-05-08 10:23:20 EDT
I was debugging Eclipse 3.1.2 workbench. I will attach a screenshot little later when I'll be near my laptop.
Comment 3 Genady Beryozkin CLA 2006-05-08 15:22:43 EDT
The scenario is:
I have two breakpoints. The program hits the first breakpoint and I press F8 to continue. Then it hits the second breakpoint and now sometimes I must manually scroll down to see the suspended thread. No other threads are suspended. After I scroll down and wait a little, it automatically scrolls up and variables disappear, F8 is inactive, etc.

I'll send the screenshots by email.

Comment 4 Darin Wright CLA 2006-05-08 17:05:04 EDT
See bug 138189. When a thread suspends, we expand it, which makes it visible. This causes the debug view to show the thread (bug 138189), even if another thread has focus. So, if you more than one thead suspending at once, this may be the cause. 

However, I have not seen the problem of the variables view being emty when this occurrs.
Comment 5 Genady Beryozkin CLA 2006-05-18 15:39:16 EDT
Do you think bug 141395 can be the reason to this bug?
Comment 6 Darin Wright CLA 2006-05-18 15:42:40 EDT
Bug 141395 is Mac specific - so, no, I don't think so.
Comment 7 Genady Beryozkin CLA 2006-05-18 15:45:04 EDT
I just keep seing this behavior, sometimes even a simple "Step over" would cause it. Maybe there is some similar SWT problem on Windows...
Comment 8 Darin Wright CLA 2006-07-25 14:58:43 EDT
and this one... is it still an issue in the latest 3.2.1 build? (There is another one tomorrow, July 26th).
Comment 9 Genady Beryozkin CLA 2006-07-28 12:39:05 EDT
It is still an issues with 3.2 (happened to me just a minute ago). I'm having problems with updating to new builds because of bug 122041 for which i use a local patch (which requires me to rebuild parts of pde).
I'll try the new build in a couple of days.
Comment 10 Darin Wright CLA 2006-07-31 15:03:51 EDT
*** Bug 149727 has been marked as a duplicate of this bug. ***
Comment 11 Michael Rennie CLA 2006-08-21 14:47:30 EDT
Any luck with one of the newer builds?
Comment 12 Genady Beryozkin CLA 2006-08-22 18:52:25 EDT
I don't see the problem anymore.
I think I have some other problems with debug which might be related, but I'll log them separately.
Comment 13 Darin Wright CLA 2006-08-28 11:49:32 EDT
Thanks for reporting back. Marking as works for me.
Comment 14 Genady Beryozkin CLA 2006-08-28 17:18:47 EDT
This should be more like "works for you" :)
Do you have any idea what was the 3.2.1 change that fixed it?
Comment 15 Darin Wright CLA 2006-08-28 22:26:11 EDT
I think the fix to bug 143805 will also fix this one.