Bug 94503 - Lose F5/F6 while debugging
Summary: Lose F5/F6 while debugging
Status: RESOLVED DUPLICATE of bug 94452
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 16:06 EDT by Kent Johnson CLA
Modified: 2005-06-02 19:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Johnson CLA 2005-05-10 16:06:58 EDT
Latest build

I use F5/F6 to step into/over methods & sometimes the debugger goes non-
responsive for 10-20 seconds.

Cannot easily reproduce but its happened more than a few times lately.

Is there a setting which controls timeouts with the target?
Comment 1 Darin Wright CLA 2005-05-10 22:24:20 EDT
Do you see timeout exceptions when this happens? Are you displaying anything 
complicated in your variables view? logical structures or expensive toStrings
()?
Comment 2 Kent Johnson CLA 2005-05-11 10:37:16 EDT
I have seen some timeout exceptions, but most of the time the debugger just 
becomes non-responsive for 10-20 seconds.

I don't believe the variables view shows anything complex.

FYI: I open my debugger in its own window if that makes any difference.
Comment 3 Darin Wright CLA 2005-05-11 10:41:17 EDT
Using a different window should not effect anything. If you come across any 
more specific pointers please let us know.

We have seen timeout problems when stepping repeatedly at a "fast" rate that 
causes the UI to try to update on each step and a logical structure is being 
viewed in the variables view (bug 94452).
Comment 4 Kevin Barnes CLA 2005-05-20 14:47:02 EDT
Kent, Have you had anymore trouble with this?
Comment 5 Kent Johnson CLA 2005-05-20 15:06:13 EDT
Yes

The selected variables do not seem to have much to do with it.

All I need to do is hit F6 repeatedly & the debugger disappears for 10 seconds.
Comment 6 Darin Wright CLA 2005-05-20 15:30:05 EDT
Kent, what code are you stepping thru when this happens?
Comment 7 Kent Johnson CLA 2005-05-20 15:36:38 EDT
Inside scopes/bindings in the compiler.

But of course as I try to reproduce it without any variables selected -> I 
can't.

So maybe it is just a dup of bug 94452
Comment 8 Darin Wright CLA 2005-05-30 12:22:03 EDT
I notice that logical structures can cause delay when stepping (it requires 
iterative evaluations as you step to create the structure). Were you 
displaying any logical structures for a map or list?
Comment 9 Kent Johnson CLA 2005-05-30 12:51:03 EDT
very likely in some cases.

We have our own lookup tables that are used all over the place.
Comment 10 Darin Wright CLA 2005-05-30 15:23:01 EDT
open for investigation, but not committed unless we have a known fix. Could 
still be a dup of 94452, which we have a potential fix for.
Comment 11 Darin Wright CLA 2005-06-01 11:20:27 EDT
Kent, I think this is a dup of 94452 (see that bug for some updates). What VM 
are you using? If you are using Sun, can you see if the problem still occurrs 
on J9?
Comment 12 Darin Wright CLA 2005-06-02 14:03:37 EDT

*** This bug has been marked as a duplicate of 94452 ***
Comment 13 Kent Johnson CLA 2005-06-02 18:54:03 EDT
I just had a lengthy delay & there were no variables selected.

Does anyone on the Debug team run with the debugger in its own window? If not 
I suggest you try it for 10 minutes.
Comment 14 Kent Johnson CLA 2005-06-02 19:04:23 EDT
FYI: I am debugging JUnit tests launched from a Java perspective... possibly 
the debugger is waiting for something to update in the other window.