How to debug javascript in IE

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

5 comments

Comments 1 - 5 of 5 previous next Post a comment

  • ksumit Sumit Kumar 8 months ago
    it sucks though if you are writing scripts for facebook and debugging FBJS bugs... :-(
  • guest1a6a3f guest1a6a3f 2 years ago
    I have office 2003 and never saw view-script debugger ???? on slide 6

  • guest565c31 guest565c31 2 years ago
    This slide show definitely helped me out! Thanks for taking the time to post it.

  • kapil Kapil Mohan 3 years ago
    Hey Jon,
    Thanks for uploading this! Really useful...
    -K
  • jboutelle Jonathan Boutelle 3 years ago
    This presentation was just a quicky thing I put together for testing. But surprisingly, NO ONE knows how to debug in IE, so it's actually used pretty often.
Post a comment
Embed Video
Edit your comment Cancel

12 Favorites & 2 Groups

How to debug javascript in IE - Presentation Transcript

  1. How To Debug Javascript In Internet Explorer Jonathan Boutelle
  2. 3 Options
    • Microsoft Script Debugger
      • pathetic
    • Visual Studio .Net
      • Expensive and overkill
    • Microsoft Script Editor
      • The best option
  3. Configuring Script Editor
    • Not well documented
    • Bundled with Office XP / 2003!
      • Yes, this is wierd
    • This presentation will show you how
  4. tools->internet options->advanced Make sure Script debugging is NOT disabled
  5. Install Office
    • Office XP OR Office 2003 will do
    • No other versions have it
  6. View->Script Debugger->Open
  7. You should see this If you don’t, make sure you have the right version of Office.
  8. Using the debugger
  9. Method 1: break at next statement
  10. Method 2: debugger calls in javascript
    • debugger;
    • Puts a break point in both IE and Venkmen (Firefox debugger)
    • Makes your code ugly: not recommended
  11. When you hit a breakpoint Runtime Error is NOT a bug: perfectly normal
  12. Select Microsoft Script Debugger
  13. Wow: a real debugger!
  14. Cleanup
    • Make sure you shut down the debugger before shutting down IE
    • F5 = continue
    • Then close the debugger
    • Remember, IE is “part of the operating system”: you don’t want it to hang!
  15. Thanks! [email_address] www.jonathanboutelle.com

Jonathan BoutelleJonathan Boutelle, 3 years ago

custom

29854 views, 12 favs, 9 embeds more stats

How to debug javascript in IE

More Info

CC Attribution License

Go to text version
  • Total Views 29854
    • 29804 on SlideShare
    • 50 from embeds
  • Comments 5
  • Favorites 12
  • Downloads 730
Most viewed embeds
  • 36 views on http://dixionjavascript.blogspot.com
  • 4 views on http://www.mmlab2.rlc.dcccd.edu
  • 3 views on http://zope-isi.unil.ch
  • 2 views on http://www.filescon.com
  • 1 views on http://www.honeytechblog.com

more

All embeds
  • 36 views on http://dixionjavascript.blogspot.com
  • 4 views on http://www.mmlab2.rlc.dcccd.edu
  • 3 views on http://zope-isi.unil.ch
  • 2 views on http://www.filescon.com
  • 1 views on http://www.honeytechblog.com
  • 1 views on http://www.rapidsharefresh.com
  • 1 views on https://requestersandbox.mturk.com
  • 1 views on http://www.amityadav.name
  • 1 views on http://localhost

less

Flagged as inappropriate Flag as inappropriate
Flag as innappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

Categories