View Full Version : JS Debugger (sort of)

08-13-2003, 06:56 PM
I finally got tired of doing:
alert('myVar: ' + myVar);
str='' for(i in someObject) str+=i+': '+someObject[i]+'\n'; alert(str);
and put together a little debugger to take care of that.
I bet I'm not the first one, but when it comes to JS my motto is "If you want to do it right,..." :D :D :D

Anyhow here is the demo, you are welcome to view and use the source, just leave the credits.
tested in latest Moz and IE, though IE throws errors when inspecting some objects - should be fixable by adding try - catch...

make sure you disable popup blockers (second time I could not do without them :thumbsup: )

08-13-2003, 07:11 PM
Using IE5.5 on Win2000 I got errors like crazy then it crashed my browser. :mad:

08-13-2003, 07:15 PM
I'll check it with IE 5.5 later - it did ok with 6.0 ....
Does not take much to crash the stoopid IE, does it :D :D :D

08-13-2003, 08:15 PM
I made it more stable in IE6.0 - see if it helped with 5.5 ;)

08-25-2003, 01:20 AM
:confused: doesn't do anything for me apart from show errors and eventually crash and I'm using IE6 win98se