Blackbird getting in the way of troubleshooting javascript errors in ChenilleKit components

View: New views
2 Messages — Rating Filter:   Alert me  

Blackbird getting in the way of troubleshooting javascript errors in ChenilleKit components

by Dave Greggory :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to upgrade to 5.1, and everything is complete except for chenillekit components (Window and FCKEditor). I'm getting a lot of javascript errors from them, but unfortunately the Blackbird console is getting in the way of debugging them. When a javascript error occurs, I would like it to actually throw the exception instead of logging it... it's much easier to track down the source from FireBug when that happens. But with the adaption of Blackbird, this is no longer the case and I have no clue where the error occurs (it happens when I click on a link that is supposed to open a Chenille Kit Window component).

How do I disable Blackbird completely, so I can actually navigate through the thrown exceptions/errors in Firebug like in 5.0.18? Blackbird website says to do the following but that will only hide the errors, it won't give me the original behavior.


var log = {
  toggle: function() {},
  move: function() {},
  resize: function() {},
  clear: function() {},
  debug: function() {},
  info: function() {},
  warn: function() {},
  error: function() {},
  profile: function() {}
};
Thanks,
Dave


     

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Blackbird getting in the way of troubleshooting javascript errors in ChenilleKit components

by Lance Java :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can proxy through to the following functions to populate the firebug
log:
console.log(), console.debug(), console.info(), console.warn(),
console.error(), console.trace()

Obviously these functions should test:
if(console)

2009/11/3 Dave Greggory <davegreggory@...>

> I'm trying to upgrade to 5.1, and everything is complete except for
> chenillekit components (Window and FCKEditor). I'm getting a lot of
> javascript errors from them, but unfortunately the Blackbird console is
> getting in the way of debugging them. When a javascript error occurs, I
> would like it to actually throw the exception instead of logging it... it's
> much easier to track down the source from FireBug when that happens. But
> with the adaption of Blackbird, this is no longer the case and I have no
> clue where the error occurs (it happens when I click on a link that is
> supposed to open a Chenille Kit Window component).
>
> How do I disable Blackbird completely, so I can actually navigate through
> the thrown exceptions/errors in Firebug like in 5.0.18? Blackbird website
> says to do the following but that will only hide the errors, it won't give
> me the original behavior.
>
>
> var log = {
>  toggle: function() {},
>  move: function() {},
>  resize: function() {},
>  clear: function() {},
>  debug: function() {},
>  info: function() {},
>  warn: function() {},
>  error: function() {},
>  profile: function() {}
> };
> Thanks,
> Dave
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>