Vladdy
08-13-2003, 05:56 PM
I finally got tired of doing:
alert('myVar: ' + myVar);
and
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.
http://www.vladdy.net/demos/kldebugdemo.html
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: )
alert('myVar: ' + myVar);
and
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.
http://www.vladdy.net/demos/kldebugdemo.html
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: )