Re: jsdIDebuggerService crashing FF 2.0
"John J. Barton" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
I have very reproducable crash from a simple script that has an eval() with a js error in the evaluated string. I am having trouble isolating the problem because the code is in xpcom implemented in javascript (firebug-service.js) I can't seem to use dump() and logging to the JS error console does not seem to flush all content before the crash. Talkback ID 27823951 shows that the problem is an unset return value. But actually the stack trace does not make a lot of sense. I guess my hook is being run by CallExecutionHook and thus there is code that does not show up in the trace bound in to the hook() that must then call getValueWrappedJSVal. jsd_GetValueWrappedJSVal [mozilla/js/jsd/jsd_val.c, line 284] jsd_CallExecutionHook [mozilla/js/jsd/jsd_hook.c, line 178] jsd_TrapHandler [mozilla/js/jsd/jsd_scpt.c, line 735] JS_HandleTrap [mozilla/js/src/jsdbgapi.c, line 213] js_Interpret [mozilla/js/src/jsinterp.c, line 4554] js_Execute [mozilla/js/src/jsinterp.c, line 1644] obj_eval [mozilla/js/src/jsobj.c, line 1360] Any hints or suggestions would be welcome. Thanks, John.