Re: Solution to debugging eval code with JSD interface
James Ross <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
John J. Barton wrote: > Thanks to hints from people here, I found a way to debug eval() code > using the current JSD interface. I track all jsdIScript objects created > using onScriptCreated. For objects from eval() calls I create a maps > indexed by jsdIScript.tag giving the eval() source buffer and new > baseLineNumber. Then whenever the debugger needs source (and would use > jdsIScript.fileName) I check these maps. Details are here: I don't have the time to read any details right now (at work), but is this the same as using the pretty print source option in JSD, or is there some other method you use for obtaining the source to these virtual files? -- James Ross <[email protected]> ChatZilla Developer