Flash kills VS debugging (vshost.exe)
-
Using Visual Studio 2005 (and also on beta 1 of VS 2008), we were getting a strange case where any exception thrown in our C# code, instead of stepping into the debugger, caused Visual Studio hosting process (vshost.exe) to crash, effectively ending the debugging session. Some Google searches revealed someone who ran into this issue where he had a Flash ActiveX control on his Windows Form. For us, we had no such ActiveX control. After a lot of head-scrating and WinDbg'ing, we saw some Flash calls in the dump stack. It turns out we had a System.Windows.Forms.WebBrowser on our form that had been navigated, for testing purposes, to Yahoo.com. Yahoo, in turn, has a Flash ActiveX control on the front page, thus breaking CLR debugging in Visual Studio. :doh:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Back From Vacation The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Using Visual Studio 2005 (and also on beta 1 of VS 2008), we were getting a strange case where any exception thrown in our C# code, instead of stepping into the debugger, caused Visual Studio hosting process (vshost.exe) to crash, effectively ending the debugging session. Some Google searches revealed someone who ran into this issue where he had a Flash ActiveX control on his Windows Form. For us, we had no such ActiveX control. After a lot of head-scrating and WinDbg'ing, we saw some Flash calls in the dump stack. It turns out we had a System.Windows.Forms.WebBrowser on our form that had been navigated, for testing purposes, to Yahoo.com. Yahoo, in turn, has a Flash ActiveX control on the front page, thus breaking CLR debugging in Visual Studio. :doh:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Back From Vacation The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
Damn that IS a pretty nasty bug :D
-
Using Visual Studio 2005 (and also on beta 1 of VS 2008), we were getting a strange case where any exception thrown in our C# code, instead of stepping into the debugger, caused Visual Studio hosting process (vshost.exe) to crash, effectively ending the debugging session. Some Google searches revealed someone who ran into this issue where he had a Flash ActiveX control on his Windows Form. For us, we had no such ActiveX control. After a lot of head-scrating and WinDbg'ing, we saw some Flash calls in the dump stack. It turns out we had a System.Windows.Forms.WebBrowser on our form that had been navigated, for testing purposes, to Yahoo.com. Yahoo, in turn, has a Flash ActiveX control on the front page, thus breaking CLR debugging in Visual Studio. :doh:
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Back From Vacation The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
How did you fix it or workaround it?
-
How did you fix it or workaround it?
By not navigating to Yahoo during debugging sessions. :) It appears there's a real fix, however, if you're interested. Here's the whole thread[^] I was referring to by another guy who hit this problem. The thread includes some answers.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Back From Vacation The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
By not navigating to Yahoo during debugging sessions. :) It appears there's a real fix, however, if you're interested. Here's the whole thread[^] I was referring to by another guy who hit this problem. The thread includes some answers.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Back From Vacation The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
So Adobe are breaking the rule of "don't change process-wide state if it's not your process". What a surprise.
Stability. What an interesting concept. -- Chris Maunder
-
So Adobe are breaking the rule of "don't change process-wide state if it's not your process". What a surprise.
Stability. What an interesting concept. -- Chris Maunder
Always hated Adobe for their products that come with tray and startup applications.
Asynchronously daydreaming...