I am receiving a javascript error whose source line is in the jquery javascript library:
uncaught exception: Syntax error, unrecognized expression: #
I know what this error is: it usually happens if you try something like:
$('#');
However, I am struggling to debug it. It should be straightforward if I could just get a stack-trace. But Firebug refuses to either break-on-error or provide a stack trace.
I have tried clicking the "Break on error" button which is at the top left of Firebug's Console pane. I have also selected "Show Stack Trace with Errors" under the Console menu. But the exception still gets outputted without breaking and without a stack trace. Is there some other option in Firebug I could use... any tricks for debugging this message?