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
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: 30537
    
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: 16065
    
  21

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: http://aspose.com/file-tools
 
subject: step return (F7)