This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes step return (F7) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "step return (F7)" Watch "step return (F7)" New topic
Author

step return (F7)

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

may i know what are the uses of step return.
when should we use it in eclipse.

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30356
    
150

Step return takes you to the end of a method. It is useful when you have debugged into a method (or set a breakpoint there) and want to continue at the caller.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

More accurately, Step Return takes you not only to the end of a method, but actually out of the method. The next instruction to be executed will be the instruction following the instruction that invoked the method.

Step Over, Step Into, and Step Return are found in almost all debuggers and they act pretty much the same way whether it's C++ in Visual Studio, JavaScript in FireFox FireBug, Java in Eclipse (or NetBeans or IntelliJ). Only the shortcut keys assigned to these functions differ.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: step return (F7)