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 step return (F7) 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 "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: 30383
    
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: 16020
    
  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.
 
wood burning stoves
 
subject: step return (F7)