Re: Debugger does not stop for breakpoints or exceptions

Gijs Kruitbosch <[email protected]> Wed, 25 Nov 2009 20:02:36 +0100
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
1) You probably want to update to Fx 3.5.5
2) You should try to test with Firebug uninstalled, or disabled *in the 
addons manager* (not through FB itself). Firefox's internal JSD 
component doesn't deal well with having two debuggers trying to use it, 
and in particular is known to cause problems of the sort you're seeing. 
If you don't want to uninstall Firebug, uninstall Venkman and use the 
debugging features in Firebug (which should be able to do what you want, 
too, although I can't help you if that fails - other people on the 
newsgroup might be able to, though).

Gijs

PS: And please keep the discussion on the newsgroup / mailing list as 
well, so other people can give any other advice that they might have. :-)

On 25/11/2009 19:44 PM, Abdeladim Gadhi wrote:
> Thank you.
> I am using Firefox version 3.0.15 and the latest Venkman version 0.9.87.4
> I tried "Pretty Print" earlier and it did not help.
> I have Firebug installed however.
> My page is not public, and it uses Dojo.xhrPost(). Here is an excerpt 
> test setup:
> **************************************
> HTML file1:
> ....
> <link rel="stylesheet" type="text/css" ...
> <script type="text/javascript" language="JavaScript" 
> src="./jsp/dojokit/dojo/dojo.js"
>            djConfig="parseOnLoad:true, isDebug:false"></script>
> <script type="text/javascript">
>       var postData = function()
>       {
>          initializeTargetData();
>          dojo.xhrPost(
>          {
>             url: "testdata.htm",
>             handleAs: "json",
>             load: function(data,ioargs)
>             {
>                // success: set heading, run function
>                dojo.byId("iqGraphHeading").innerHTML += " by: "+data.name;
>                if(data.aFunction && data.aFunction())
>                {
>                   // we just ran data.aFunction(). should alert() …
>                }
>             }
>          });
>       };
>
>       dojo.addOnLoad(postData);
> </script>
> </head>
> <body>
> ...
> ...
> <h2 id="iqGraphHeading">Constellation Graph</h2>
> ...
> *************************************
> testdata.htm content:
> {
>    name: "Company",
>    aFunction: function()
>    {
>       alert("internal function run");
>    },
> }
>
>
>
>
> >>> Gijs Kruitbosch <[email protected]> 11/25/2009 10:49 AM >>>
> On 25/11/2009 18:38 PM, Abdeladim Gadhi wrote:
> > I am not able to get the debugger to stop for breakpoints and 
> exceptions.
> > I have the 'Stop for Errors' and the 'Stop for Exceptions' triggers set.
> > I have the desired HTML page with JavaScript module loaded because 
> the contents
> > in the HTML page are loaded through the JavaScript.
> > An oddity however is the manual stopping of the debugger does not 
> work either.
> > It shows an X with 3 dots to indicate that no scripts are loaded.
> > Could you please assist?
> > Thank you
> >
>
> Which version of Venkman? Which version of Firefox? Is your page 
> public (ie can
> we have a link so we can check ourselves)? Does it rely on POST 
> variables? Have
> you tried using the "Pretty Print" mode (click the flower button in the
> toolbar)? Do you have Firebug installed as well? The two might conflict...
>
> ~ Gijs
> _______________________________________________
> dev-apps-js-debugger mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-apps-js-debugger

_______________________________________________
dev-apps-js-debugger mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-apps-js-debugger