Debugging firebug itself

33 views
Skip to first unread message

Max Vaysburd

unread,
May 6, 2010, 2:31:48 PM5/6/10
to Firebug
Hi everyone.

I'm looking on pointers of how to debug firebug itself. I get script
errors in my application that suggest a crash coming from spy.js.
Here's an example stack I get:

Message: Script error. Url: chrome://firebug/content/spy.js Line: 0
Call Stack ---------- Error()@:0 window$onerror("Script
error.","chrome://firebug/content/spy.js",0)@https://
r3.res.outlook.com/owa/14.1.165.0/scripts/premium/uglobal.js:1
function Array$get_Length() { return this.length; } function Array
$get_Item(a) { return this[a]; } function Array$get_Enumerator()
{ return new (Owa.Collections.ListEnumerator)(this); } function Array
$remove(b) { var a = this.indexOf(b); a > -1 &&
this.splice(a, 1); return a > -1; } function Array$removeAt(a) { if
(a < this.length) { this.splice(a, 1); return true; } return
false; } function Array$add(a) { this.push(a); } function Array
$clone() { return this.slice(); } Detailed Call Stack
------------------- Dump Event ----------

Much obliged,
Max.

--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to fir...@googlegroups.com.
To unsubscribe from this group, send email to firebug+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.

John J Barton

unread,
May 6, 2010, 2:44:02 PM5/6/10
to Firebug


On May 6, 11:31 am, Max Vaysburd <bat...@gmail.com> wrote:
> Hi everyone.
>
> I'm looking on pointers of how to debug firebug itself.  I get script

We use chromebug and the FBTrace console to debug Firebug.

> errors in my application that suggest a crash coming from spy.js.

Crash? As in firefox terminates instantly and you get the crash
reporter dialog?

> Here's an example stack I get:
>
> Message: Script error. Url: chrome://firebug/content/spy.js Line: 0

Line 0? Anyway I suggest you use the tracing version 1.5X.4 or 1.6X.
0a10 from http://getfirebug.com/releases/firebug. Open Firebug Icon
Menu > Tracing > Options > ERRORS.

jjb

Max Vaysburd

unread,
May 6, 2010, 3:19:06 PM5/6/10
to Firebug
Thanks John.

Regarding the use of word "crash" I misspoke. Firefox doesn't
terminate and I should have used "script error" instead. Microsoft's
Outlook Web App has error handling which catch all script errors and
presents user with a dialog to sent the stack to the development
team. The stack from my previous message was extracted from such
dialog. Line 0 probably refers to I'm going to grab
http://getfirebug.com/releases/firebug/1.5X/firebug-1.5X.4.xpi and see
what pops up through the tracing console. In Firebug Console options
I enabled "Show Chrome Errors" and "Show JavaScriptErrors".

Max.

On May 6, 11:44 am, John J Barton <johnjbar...@johnjbarton.com> wrote:
> On May 6, 11:31 am, Max Vaysburd <bat...@gmail.com> wrote:
>
> > Hi everyone.
>
> > I'm looking on pointers of how to debug firebug itself.  I get script
>
> We use chromebug and the FBTrace console to debug Firebug.
>
> > errors in my application that suggest a crash coming from spy.js.
>
> Crash? As in firefox terminates instantly and you get the crash
> reporter dialog?
>
> > Here's an example stack I get:
>
> > Message: Script error. Url: chrome://firebug/content/spy.js Line: 0
>
> Line 0? Anyway I suggest you use the tracing version 1.5X.4 or 1.6X.
> 0a10 fromhttp://getfirebug.com/releases/firebug. Open Firebug Icon
Reply all
Reply to author
Forward
0 new messages