I am new to FireBug Debugger can anyone say what is step into,step over and step out
step into -> go into the subroutine and wait for next action. step over -> jump over the subroutine without waiting again. step out -> if you are in the subroutine, you will leave it without waiting again.
Step Over: "When the next statement to execute reaches a method call, execute the method as a whole and stop" Step Out: "Finish off executing the callee's code and stop when execution returns to the caller" Continue: "Execute up until the next breakpoint"
Ans: Step Into: Step Into is used for debugging the test steps line by line. When the procedure gets called, Step Into enables you to get inside the procedure and debugs the procedure steps line by line. Step Over: Step Over will enable, only after the debugging is started with Step Into / Run From Step / Run to Step.
Step Over command:This command lets the application execute the next action. If the action involves a call to an operation, it does not step into its implementation (it steps over it instead).
Imagine the following code, which entered through main()
and is now on the first line of bar
:
function main() { val s = foo(); bar(s); } function foo() { return "hi"; } function bar(s) { val t = s + foo(); // Debugger is currently here return t; }
Then:
foo
call, and the current line will then become the return "hi";
line within foo
.return t;
line (which lets you quickly see what t
is evaluated as).bar
method, and control will return to the last line of the main
method.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With