In the Firebug JavaScript debug, how do I display the current line of code?

3

During the JavaScript debugging while the execution is stopped, if I browse to another file in the Firebug panel, I can not get back to the line of code that will be executed next (marked in yellow).

If I use the "Step Into", "Step Over" or "Step Out" commands, the panel immediately displays the next line, according to the command used, but then the line that was marked has already been executed. / p>

The solution I found was, before leaving the marked line, put a breakpoint in it, and use the list of points to come back later.

Is it possible to return to the current line of code without giving any "Step" or use breakpoints?

    
asked by anonymous 26.03.2014 / 15:46

2 answers

1

Go to the Stack tab and click the first item:

    
26.03.2014 / 16:22
2

In my case, I can go back to the current point of the code by clicking the last item in the main bar that is inside the "Script" tab. It usually shows the name of the function you are debugging at the moment. Ex:

It works regardless of the file you are currently in.

    
26.03.2014 / 16:20