Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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"

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Using IE5.5 on Win2000 I got errors like crazy then it crashed my browser.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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
    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"

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I made it more stable in IE6.0 - see if it helped with 5.5
    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"

  • #5
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    doesn't do anything for me apart from show errors and eventually crash and I'm using IE6 win98se


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •