• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

step return (F7)

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
may i know what are the uses of step return.
when should we use it in eclipse.

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic