Re: Setting breakpoints
James Ross <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
Dassburger wrote: > James Ross wrote: >> The debugger notifies you of each script as it is loaded (top-level >> always comes first), and you just need to set the breakpoint in each >> that overlaps the line (you can check if the line is executable within >> that script, but I don't think you have to). > > How to check the executableness of a line within a script? http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/js/jsd/idl/jsdIDebuggerService.idl&rev=1.33&mark=995#990 It's probably overkill in a lot of cases, but Venkman keeps track of executable lines. -- James Ross <[email protected]> ChatZilla Developer