Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#3319 closed defect (wontfix)

firebug console swallows dojo.lang.declared class method thrown exception

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.4.2
Keywords: Cc: [email protected]
Blocked By: Blocking:


Kind of a weird one...

Firefox 1.5 and Firefox 2.0 using Firebug 1.05. Confirmed on both Windows & Linux.

I dojo.lang.declare a class Foo with a method bar() that throws a new TypeError?. I then instantiate foo and invoke from Firebug's console. Firebug swallows the TypeError? silently instead of displaying the TypeError? in the console as expected.

I've been in contact with the Firebug folks, and we can't reproduce this using regular Javascript OOP practices. Check out the complete thread

Attachments (2)

DojoDeclareBreaksFirebugExceptionsInConsole.html (1.3 KB) - added by guest 15 years ago.
Recreate using dojo-0.4.3 off AOL's CDN
DojoDeclareBreaksFirebugExceptionsInConsole.2.html (991 bytes) - added by Adam Peller 15 years ago.
Show bug, sans Dojo

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by guest

Recreate using dojo-0.4.3 off AOL's CDN

Changed 15 years ago by Adam Peller

Show bug, sans Dojo

comment:1 Changed 15 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

A little unfair to blame Dojo on this one. Prototype should fall into the realm of "regular JavaScript? OOP practice" Works fine in Drosera :) I'd chalk it up to another jsd mystery. See attached.

Thanks for forcing me to look at this, though. I think it explains a LOT of times I couldn't find exceptions in Firebug.

comment:2 Changed 15 years ago by guest

Thank you for your time on this one. I've taken the dojo-less recreate back to the Firebug folks

comment:3 Changed 15 years ago by guest

No change to the defect, just a related hint...

It looks like Firebug 1.05 will show the error if you open up Firefox's [about:config] page and set extensions.firebug.showChromeErrors to true. The capability exists but isn't presented by the Firebug UI as of 1.05.

Note: See TracTickets for help on using tickets.