Re: simple Venkman issue - breakpoint not accepted

Gijs Kruitbosch <[email protected]> Mon, 01 Aug 2011 23:18:23 +0200
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
On 01/08/2011 21:45 PM, [email protected] wrote:
> I've used debuggers for multiple languages for over 20 years.
>
> When I try Venkman 0.9.88.2 in Firefox 5.0 it does not act as
> expected. When I try the suggestions here:
> http://www.webmonkey.com/2010/02/debug_javascript_with_venkman/
> nothing happens.  (They are using a different version 0.9.87.  The
> "disclosure triangle" is missing on the new version.)  You do not see
> the script.  When I actually execute the script by clicking the HTML
> form button on the webpage, the script shows up in the  Loaded Scripts
> window but you can only set a Future break point in the code loop.
> Also, here https://developer.mozilla.org/en/Venkman_Introduction it
> says about the same thing - you just browse the site that contains a
> javascript and it should appear in the Loaded Scripts window, but it
> does not.
>
> What is happening?
>
> - joe

With apologies to linking to my own blog, please read:

http://www.gijsk.com/blog/2010/08/venkman-0-9-88-1/

(note that the latest version at time of writing is 0.9.88.2, and .1 doesn't 
work with Firefox 5)

I just tested the site from the tutorial, and if I run the function once by 
clicking the button, I can then set an ordinary breakpoint in the loop just 
fine, and it gets hit if I click the button again.

Hope that helps,
Gijs