Javascript debugging with visual studio on vista hangs

by Ishai Hachlili 2. February 2008 10:02

Can it be that I'm the only one having this problem? that's what I though until I found another developer who already submitted a bug report to microsoft.

I'm debugging some javascript using Visual Studio 2008 Team System and all of a sudden the IDE hangs, as well as the browser and webserver.
There's no way to get out of it, all I get is a message that asks me if I want to switch back to VS or wait for it to be available, but it won't, no matter how long I wait (I did leave it over night once), so I have to kill the process, it's the only way.

The problem is, this happens in different situations and I can't see any connection other than it's javascript debugging.

This happened to me a couple of times with VSTS 05 on vista, but with 08 it happens a lot


if you're developing on XP, DON'T upgrade to vista, this problem might happen on XP as well (never did to me) but I know vista/vsts/ie7 don't like working together too much.

 and another small issue I have with javascript debugging. VS requires the option to enable debugging in IE7, this means that whenever there's a javascript error in a site I'm browsing to I will see the "do you wish to debug?" message. I didn't know so many sites have bugs, don't people test their sites? a lot of bugs have to do with blocked pop ups.
This is really annoying, and it won't be less annoying to change this option everytime I start/finish debugging something.

The real problem is when opening pages in new tabs, if you open more than one page, and both pages have an error, IE7 just hangs and I have to kill the process. and when you kill the process, the history is lost, so go find that site you were on.

Maybe IE8 will solve this problem, I know that it's coming soon (by MS timetable, that probably means 6-12 months) but a patch to VS would be nice, so it can enable/disable debugging in the browser it opens when I select "view in browser" or start the app

I did submit this feature request to MS


and now, back to debugging, I'm keeping my fingers crossed for a hang free session

Tags: , , , ,


blog comments powered by Disqus

About Ishai

Ishai is the founder of Smart Trivia, Inc. where he builds trivia games for smartphones using MvvmCross and Xamarin. He's also running the Silicon Valley Mobile/Cross Platform .Net Meetup and helps other companies build mobile apps using Xamarin as a consultant

Recent Tweets

Twitter October 23, 05:22
@BenThePCGuy a standard where that doesn't matter is better. One more reason to get the #Lumia920, wireless charging, no need for microUSB

Twitter October 23, 05:21
@ManMadeMoon where they dance around the issues and don't really talk about them

Twitter October 23, 05:20
@BenThePCGuy are you a @wpdev ?

Twitter October 23, 04:17
@JonahLupton But if it's black it's usually better

Twitter October 23, 02:58
@jongalloway next time ask your 5 year old how to spell