debug (chromebug) friendly script inclusion

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

debug (chromebug) friendly script inclusion

Post by al_9x »

Starting with 2.1.2.4rc5, the deferred inclusions show up in Chromebug:

a. unnamed ( <number> in BackstagePass)
b. deferred, as intended
c. mostly minified (newlines stripped)

a & b are only inconvenient for debugging, but c makes it impossible.

before 2.1.2.4rc5, the situation was much better for debugging. I am not positive, but it seems like files INCLUDED from top level code, end up ok. It would be helpful to have a debug pref that preloads all includes from top level code, or something like that, that ensures that all the files are debuggable.
Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: debug (chromebug) friendly script inclusion

Post by Giorgio Maone »

a & c sound like bugs either in Chromebug or in the JS Debugging API.

Anyway yes, it can be done.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
Post Reply