Re: Debugger not stopping at hard breakpoint in xul javascript.

"John J. Barton" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
(I assume you are using venkman). I don't know what you mean by a "hard
breakpoint".  Does the source have a dash '-' in front of the line you
breakpoint? That indicates a line that venkman thinks is in the scripts
line table.  If yes, then the script you breakpointed just isn't the
script your extension is running: the browser isn't breakpointing
because the code isn't running.  If no, then hmm, my guess would be the
same.  From the debuggers point of view there isn't anything special 
about scripts from extensions.

John.

Dennis Muhlestein wrote:
> I'm trying to debug a firefox extension.  I deselected the "Exclude 
> Browser Files" from the Debug menu.  Walla, I can now see my extension 
> javascript file.
> 
> Next, I set a breakpoint where I'd like to stop.  The breakpoint IS 
> listed in the breakpoints window and it is a hard breakpoint.
> 
> When I execute the code in the extension however, the debugger does not 
> stop there.  I've verified that breakpoints DO stop for normal 
> javascript/web files.  Is there something  I am missing when debugging 
> JS from an extension?  I've tried setting breakpoints at all different 
> places in my extension javascript and the effect is always the same. The 
> debugger seems to be ignoring them.
> 
> I'm using FireFox 2.0.0.3 on Windows.
> 
> Thanks
> Dennis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.