DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Debugging
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2008
Default Debugging - 03-14-2008, 01:28 AM

Hi,

I am debugging a java class in eclipse 3.0. I want to know how I can debug a line again which has already been executed by debugger without restarting the debugging?
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 25
Thanks: 0
Thanked 2 Times in 2 Posts
Join Date: Feb 2008
Default 03-14-2008, 01:32 PM

I have never been able to figure that out, but I did find that if you change one line of code, or add something like "if (true){}" somewhere, Eclipse will recompile the module and start execution back at the method's entry point ... at least with current Eclipse 3.3 and JDK/JRE 5.
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Mar 2008
Default Debugging Drop to Frame - 03-20-2008, 04:40 PM

I don't know about version 3.0, but in the current 3.3 version you can use the Drop To Frame command to back up to a previous line or to a previous frame (e.g., the method that called the current method). There have been A LOT of improvements to Eclipse since 3.0, and it is very easy to upgrade -- just download the new version and unzip in a new directory. I would think about it. Hope this helps. Mark Dexter
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging in eclipse - source not found? maxmal Eclipse 3 01-23-2009 04:50 PM
Debugging Win Mobile 5.0 alxxx Eclipse 0 11-24-2008 08:44 AM
Problem debugging SWT/JFace code... jorgedieguez Eclipse 1 08-19-2008 05:37 PM
profiling when doing remote debugging iasty Eclipse 0 05-06-2008 03:22 AM
Cannot find Remote Debugging option... help... beefsupreme Eclipse 2 02-19-2008 10:25 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com