Issue 5033: Return value from a function executed on the command line is not displayed.
Steps to reproduce
- Open Firebug
- Enable the Console and Script panel and switch to the Script panel
- Reload the page
- Create a breakpoint on line 10 (
var a = 10;
)
- Switch to the Console panel
-
Type
testFunction()
into the Command Line and hit Enter
The script execution should stop at the breakpoint
- Click the Step Over button until the execution is resumed
- Switch back to the Console panel and check its output
Expected result
- The function's return value
20
should be displayed