www.webdeveloper.com
Results 1 to 2 of 2

Thread: Debugging Javascript

  1. #1
    Join Date
    Aug 2005
    Posts
    28

    Debugging Javascript

    How does one go about debugging javascript?
    Do you use firebug and run your page through your localhost?
    If javascript is part of an ASP.NET application, I have found that the breakpoints in a .js file seem to be ignored.

  2. #2
    Join Date
    Jul 2013
    Posts
    66
    1. Quality code
    2. Development tools (Console and inspector, if it's an UI application)
    3. Testing
    4. Testing
    5. Testing

    Occasionally I also still like some good, old log statement debugging, though it is rare. Quality and testing will avoid breaking code in the first place as well as help you spot the source of error quickly. And with testing I don't mean playing around with it, I mean automated unit- and maybe integration-testing.
    Last edited by Airblader; 08-29-2013 at 11:30 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles