aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "step return (F7)" Watch "step return (F7)" New topic

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

Joined: May 26, 2003
Posts: 29219

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: 15628

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.
I agree. Here's the link:
subject: step return (F7)
Similar Threads
How to run a program in the background?
bug in code.................
in how many ways i can debug my webapplication
i got a problem, with my test program on binary trees
Best way to check whether object is Number