This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 5823
    
    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