Re: Debugger not stopping at hard breakpoint in xul javascript.
Dennis Muhlestein <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
> > Where are you setting it? Is it code in a <script> block inside an XUL > file? Is it in an event handler? An associated JavaScript file? Is it > inside a function in the code? At the top level? How are you triggering > the code? Button? Event? Closing and re-opening your extension window? > Well, I tried setting the breakpoints at lots of different places to find out if the method of triggering it was possibly the problem. I set breakpoints not only in my event handlers (like onload etc), but in function call blocks that I can call by clicking clicking a menu item from my overlay menu. I have JS code in a separate JS file as well as in script blocks in the XUL file but I didn't try much with the script blocks. Thanks Dennis