Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug JavaScript within IE6 [closed]

I'm looking for a tool that will enable me to debug JavaScript within IE6. What I mean is that I would like the debugger to run within the browser, a là Firebug.

So far I've tried:

  • DebugBar;
  • Companion JS;
  • Firebug Lite.

However, I can't figure out how to set breakpoints, step through the code, add watches, etc. using any of them. I've also tried using the MS Visual Web Debugger 2008 Express Edition, but it doesn't run within the browser and lacks features.

If any of the tools above do provide the JS debugging features I'm seeking, any tips on how to use them effectively would be welcome. Alternatively, feel free to recommend other tools.

Update: In addition to suggesting alternative tools, if someone could confirm that none of the tools above do support setting breakpoints and stepping through JS code in IE6, that would be very helpful.

like image 602
Dónal Avatar asked Apr 23 '09 17:04

Dónal


People also ask

How do I run JavaScript in debug mode?

With a debugger, you can also set breakpoints (places where code execution can be stopped), and examine variables while the code is executing. Normally (otherwise follow the steps at the bottom of this page), you activate debugging in your browser with the F12 key, and select "Console" in the debugger menu.


1 Answers

Jonathan Boutelle has a good cheat sheet on getting the Microsoft Script Editor to work for debugging JScript, so if you have Office installed, you might try that.

like image 101
Rob Avatar answered Oct 24 '22 10:10

Rob