Bug 161945 - Need to click Resume button twice to for the resume action
Summary: Need to click Resume button twice to for the resume action
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-10-23 09:52 EDT by Ian He CLA
Modified: 2009-08-30 02:08 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 Ian He CLA 2006-10-23 09:52:27 EDT
When debug a java application against IBM JDK 1.4, At the break point, after modify the code, save it and click on the resume button, nothing happens. You 
will have to click on the Resume button again. 

Also, sometimes, when you click on the Resume button for the first time, it goes back to a few steps (stops at previous line). Then when you click on the 
button again, it starts over again.

Problem does not happen on IBM JDK 1.5.
Comment 1 Darin Wright CLA 2006-10-27 14:51:22 EDT
I wonder if this is just a timing problem - i.e. when you modify the code, the hot swap takes a little time, and re-enters the frame you are in. It sounds like you may be pressing resume before the hot swap is complete, which has no effect. It could be that the "resume" action should be disabled during a hot swap.
Comment 2 Darin Wright CLA 2007-02-08 14:46:55 EST
Need a test case to reproduce the problem.
Comment 3 Ian He CLA 2007-02-08 15:41:08 EST
1) create an Application client with a Main.java and target it to a APP server (server must use JDK1.4)
2) Enable the hot method replace option
3) set a break point
4) at the time you reach the source break point, edit the source
5) click on Resume button

Note: 
1) The problem only happens to IBM JDK1.4, lsater version of APP servers (that use JDK1.5) are OK.
2) This is not a timing issue. You can wait for a long time before you click the Resume button. The problem still exists.

Since the problem only happens to JDK1.4, if it cannot be fixed before WTP 2.0, then there is no point of fixing it. The scenario will no longer needed 
by then.



Comment 4 Darin Wright CLA 2007-02-08 15:49:51 EST
Closing. If the problem only happens on IBM 1.4 and not on 1.5, then this is likey a VM bug.
Comment 5 Denis Roy CLA 2009-08-30 02:08:47 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.