Created attachment 639612[details]
Test page
tested with latest Aurora (Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120705 Firefox/15.0a2) and latest nightly (Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/16.0 Firefox/16.0)
Steps to reproduce:
1. Open the attached file
2. Open the debugger
3. Set a breakpoint on the 10th line (document.getElementById("demo").innerHTML=x;)
4. Click Run
5. The execution stops at the breakpoint
6. Click resume button once
What happens:
Nothing happens, except that it seems to reload something at the "Global Scope [Window]".
Note that if you click one more time at the resume button the execution goes on normally.
What should happen:
It should have the same behavior as when the script is in an external file. So it should go on after the breakpoint with only one click.
Note that the same behavior exists on step in/over/out.