Thanks, I appreciate it. Especially since I am sure it will come back to me doing something wrong :/. I've seen a lot of people on the web with this problem though, and no solutions other than debugAtAllCosts. If I hadn't see Chrome working I would not have realized Firebug had this cool sourceURL feature.
I've created issue http://code.google.com/p/fbug/issues/detail?id=4035 and attached a zip file with the HTML/JS needed to see the problem. Hopefully that is what you mean by a test case? If you need anything else just let me know. d -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of John J Barton Sent: Monday, February 07, 2011 10:22 AM To: Firebug Subject: Re: sourceURL hint not working with dojo 1.5.0 and FireBug (1.6.1, 1.6.2, 1.70Xa9) If you post a test case I can investigate. jjb On Feb 6, 8:26 pm, reesd <[email protected]> wrote: > For some reason FireBug (1.6.1, 1.6.2, and 1.70Xa9) doesn't seem to using > the sourceURL hint at the end of an eval when working with dojo 1.5.0. It > lists the evals, but not with their filenames. And their content looks > compressed with comments and white space removed. The debugger line works so > it does know the right evals, just not its filename. > > On the other hand, the same code is working in Chrome. Chrome shows the > actual files in the scripts list, allows me to set breakpoints, and also > stops at the debugger line. > > I've stepped through the dojo code and I see its adding the sourceURL line. > And since Chrome is working it seems there is enough information being given > by dojo. > > I have seen several posts from the past that say Firebug should just be > working with evals and the sourceURL hint. Is there a trick I am missing? > > Here are images of what I am seeing in FireBug and Chrome: > > http://twitpic.com/3xawnf/full<http://twitpic.com/3xaxbo/full> > > http://twitpic.com/3xaxbo/full > > http://twitpic.com/3xaxtu/full > > http://twitpic.com/3xaxza/full > > Thanks, > dave > > PS, I've been using debugAtAllCosts in dojo (which switches the loader to > using script insertion) which does give the line numbers, but that has some > different drawbacks.It would be great if I could just get eval and sourceURL > to work like it should (and does in Chrome). -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en. -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
