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.
