javascript-debug icon indicating copy to clipboard operation
javascript-debug copied to clipboard

Mainting support

Open TiTi opened this issue 15 years ago • 6 comments

Hi,

This commit fix makes your logger works again with most current consoles : -latest stable firebug (1.6) -chrome console (v8 stable) -IE8 dev tools -opera -firebug lite

I'm also planning to add more stuff soon, like: -An hidden div on the page if no console available at all or if an option is setted. Or at least a "tail". -A way to export the history

Cheers and thx for your great jquery plugins!

TiTi avatar Dec 08 '10 23:12 TiTi

What exactly is the problem in current browsers? Do you happen to have a list of side-effects or errors that are occurring?

cowboy avatar Dec 09 '10 01:12 cowboy

On your example page : http://benalman.com/code/projects/javascript-debug/examples/debug/

Firefox 3.6.12 with Firebug 1.6.0 (current stable release) : "this.trace is not a function" => even stop js execution! This is because the first parameter of .apply should not be window but console

Opera doesn't use console.log/warn/... for now but opera.postError

I also had an issue with Chrome 7 but they recently upgrade to version 8 (stable branch) and the error doesn't appears anymore it seems (objects weren't correctly logged, strings were).

TiTi avatar Dec 09 '10 08:12 TiTi

Hmmn.. I'm not seeing any problems in Opera, I've tried in 10.63 and 11.0. What versions are you experiencing this issue in?

cowboy avatar Dec 25 '10 03:12 cowboy

Yep that's because they updated Opera DragonFly: http://my.opera.com/dragonfly/blog/2010/12/03/getting-opera-dragonfly-ready-for-opera-11 (see: "Updated Command Line" -> was not working before). Because of the way opera dragonfly works, you've got the latest dragonfly in 10.63 or 11.0: see "always up to date" on this page http://www.opera.com/dragonfly/ . Or go to "Developer Tools" in opera:config. Another link: http://dev.opera.com/articles/view/introduction-to-opera-dragonfly/

Well thank you for bringing this to my attention I didn't noticed the console.log/info/debug/error is now working in dragonfly. I guess there is no more need to use opera.postError (which was the only "proper" logger in opera). I'm gonna make some modifs soon on my repo.

TiTi avatar Dec 26 '10 17:12 TiTi

Awesome. I'm in the process of a full rewrite of this, actually. I'll post it as soon as I have something good!

cowboy avatar Dec 26 '10 18:12 cowboy

:+1:

pboling avatar Apr 10 '13 17:04 pboling