| Author |
How to debug using Eclipse?
|
Roy Huang
Ranch Hand
Joined: Nov 21, 2001
Posts: 104
|
|
Hi, When I start the eclipse 2.0 with Java VM 1.4, I cannot debug my java code in this environment. First I set the breakpoint, then I choose debug mode to run the project, it stopped but I can not use step into/over/return these functions, since they are unhighlighted. The breakpoint window is also empty, "Unkown" method is shown there. So Could U tell me waht is the problem when I start to debug ? Thanks, Roy
|
SCJP 1.4/SCBCD/SCWCD<br />MCSE<br />IBM professional XML Developer<br />SAP certified Development Consultant (NetWeaver portal and Web JavaApplication)
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
Mhh, works for me... There are some known bugs in JDK 1.4.0, which are resolved in 1.4.1 regarding the debug API - but I think the symptoms you describe are pointing to another problem.
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
Roy Huang
Ranch Hand
Joined: Nov 21, 2001
Posts: 104
|
|
Hi,Ilja, Thanks for Ur reply, I have tried with the JDK1.3.1 and start the eclipse without the VM setting, then I got my breakpoint in the breakpoint window, but the step into/over/return /resume/suspend/terminate these functions still can not be used. Do I need to set anything else? Thanks, Roy
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
Roy, did you select your running application in the debug view?
|
 |
Roy Huang
Ranch Hand
Joined: Nov 21, 2001
Posts: 104
|
|
Ilja, Ja, I select the debug perspective only, but not the debug view, so it didn't work. Now it works -- so great thanks!! Have a nice weekend, Roy
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
You're welcome!
|
 |
 |
|
|
subject: How to debug using Eclipse?
|
|
|