Export to GitHub

fbug - issue #5757
Make the 'debugger' statement work in user-entered code in console
Posted on Jul 25, 2012 by
Helpful Ox
Open console and paste:
var foo = function() {debugger; console.log('hello from foo')};
and then
foo();
Expected: we should have landed at the breakpoint What happened: only a message is logged into console.
Firebug: 1.10 Browser: 14.0.1 OS: Win XP SP3
FWIW, 'debugger' statement in custom code works in Chrome 20.
Comment #1
Posted on Jul 25, 2012 by Helpful Wombat(No comment was entered for this change.)
Status: Duplicate
Labels:
Type-Defect
debugger
1.10
Test-case-available