View Single Post
Old 08-13-2003, 05:56 PM   PM User | #1
Vladdy
Senior Coder

 
Join Date: Jun 2002
Location: Nashua, NH
Posts: 1,724
Thanks: 0
Thanked 0 Times in 0 Posts
Vladdy is an unknown quantity at this point
JS Debugger (sort of)

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,..."

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 )
__________________
Vladdy | KL
"Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"
Vladdy is offline   Reply With Quote