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 8 of 8
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Posts
    143
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What is your preferred method to debug js?

    Hello
    i just like to know And learn efficient ways for js debugging
    is the " alert(foo)" kind of way spared allover the script is the only best way ?
    or you have some new methods?
    thanks

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Honestly, I've never really used a JS debugger. However, when I do code something with an error, I'll always use Mozilla or Opera -- their error-reporting is VASTLY superior to IE's.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    Regular Coder
    Join Date
    Sep 2002
    Posts
    143
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well i was talking more about general debugging methods
    not browser specific talking about browser we using only IE as our application platform
    i thing that all the applications (note! not web sites BUT applications) using IE . any way lts not convert this
    dissection to web browser war (please dont!!) But about debugging ideas
    thanks!

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That IS my debugging idea.

    I think the Mozilla folks may a debugger for JS. "venkman" or somrthing.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #5
    Regular Coder
    Join Date
    Sep 2002
    Posts
    143
    Thanks
    0
    Thanked 0 Times in 0 Posts
    its looks great but i see its not standalon app,but part of the
    browser...that is IE jscript + spcfic IE code not gona work well

  • #6
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    I don't use a "debugger", either... I simply test it on different browsers. Sometimes I use NS7 Javascript Console, it shows more precisely where the error could be...

    ... And, I use for coding Dreamweaver. It keeps my scripts tight, and shows the reserved words with diffrent colors...
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #7
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Mozilla's JS console in conjunction with alert()'s. I've never needed to use Venkman - that's a little heavy duty for something a light as Javascript. I sometimes use the Codewarrior debugger for C++, but never a Javascript debugger,

  • #8
    Regular Coder
    Join Date
    Sep 2002
    Posts
    143
    Thanks
    0
    Thanked 0 Times in 0 Posts
    do you mean u debug js sometimes with :
    Codewarrior debugger for C++, ???
    or what?


  •  

    Posting Permissions

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