Debugging broken again #124

Closed
Jimgskoop opened this Issue Jun 8, 2012 · 4 comments

Projects

None yet

4 participants

@Jimgskoop
Contributor

Injected scripts are no longer appearing in Firebug's Script panel. Now there is only a list of numbered files, all of which seem to be duplicates. The "//@ sourceURL=" hack seems to be broken (is not getting output).

This is blocking Lu team. Please prioritize.

@Jakobo
Contributor
Jakobo commented Jun 13, 2012

The root cause seems to be the execution added for catching syntax errors. At the risk of a second eval()-ish statement, we can bring the source URLs back

@Jakobo
Contributor
Jakobo commented Jun 13, 2012

Have a patch, should have this running by EOD for you

@Jakobo Jakobo added a commit that closed this issue Jun 13, 2012
@Jakobo Jakobo fixes #124 60a339f
@Jakobo Jakobo closed this in 60a339f Jun 13, 2012
@ariofrio

I'm having the same problem. How do people do debugging with InjectJS? Neither Firefox's native Web Console, Chrome's JavaScript Console, or Firebug seem to give useful information. Do I need to include "//@ sourceURL=" in my scripts? What's the syntax?

@Jakobo
Contributor
Jakobo commented Jun 20, 2012

It should be doing that automatically (adding the firebug src param). Do
you have a version published somewhere I can look at?

If you are running 3.0+, the syntax also changed slightly.

On Tuesday, June 19, 2012, Andres Riofrio wrote:

I'm having the same problem. How do people do debugging with InjectJS?
Neither Firefox's native Web Console, Chrome's JavaScript Console, or
Firebug seem to give useful information. Do I need to include "//@
sourceURL=" in my scripts? What's the syntax?


Reply to this email directly or view it on GitHub:
#124 (comment)

--Jakob/mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment