File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes debug Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "debug" Watch "debug" New topic
Author

debug

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
Hi,

I have following situation during debuging in eclipse.

In debug stack I already am in ###PLACE###(in body function b()) and I want to be in ###HERE###(before calling function b()) - it means I have been in ###HERE### in history.
I would like to know if there is possibility to return to point ###HERE### in way to an application has same behavior like the application has never been in point ###PLACE###.



class Obj {
public void a(){
...
//###HERE###
b();
...
}

public void b(){...
...
//###PLACE###
...
}
}


I hope you understand my proplem.



Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

What you are asking is to go back in time to a previously executed line of code. No Java IDE that I know of can do this. The most you can do is click the "exit from method" button which will finish running method b() and place you after the call to method b() within method a() (2 lines after ###HERE###).


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: debug
 
Similar Threads
question on java rms
debugging
preprocessor directives
Why declare an object and instantiate it as instance of inherited type?
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.