.NET Framework Bookmark and Share   
 index > 64-Bit .NET Framework Development > Weird Visual Studion 2008 behavior on windows 7 x64
 

Weird Visual Studion 2008 behavior on windows 7 x64

Hi. I'm having this odd issue. I have Visual Studio 2008 Professional SP1 Installed on Windows 7 Ultimate x64. I noticed this, VS is not detecting any runtime exception thrown during the formLoad event, in C#. I haven't try this on VB. For example, this code:

object p = new Point(3, 4);
p = (Rectangle) p;
This doesn't do anything and the VS is not throwing any exception.
rassiel
It is definitely throwing an exception, you'll see it in the Output window. However, it is getting caught and silently swallowed when you use the debugger. Very annoying. Not quite sure where this comes from, I noticed this starting somewhere with VS2008. This won't happen in production, try Ctrl+F5 for example. Debug + Exceptions, Thrown checkbox will catch it too.

Hans Passant.
nobugz
It is definitely throwing an exception, you'll see it in the Output window. However, it is getting caught and silently swallowed when you use the debugger. Very annoying. Not quite sure where this comes from, I noticed this starting somewhere with VS2008. This won't happen in production, try Ctrl+F5 for example. Debug + Exceptions, Thrown checkbox will catch it too.

Hans Passant.
nobugz

You can use google to search for other answers

Custom Search

More Threads

• 64-Bit MASM Compile Error (language type must be specified)
• Spawn a 32 bit process from a 64bit dll
• Setup Project deploying to wrong registry path
• Can Express compile 64 bit apps?
• How to select Oracle client folder with System.Data.OracleClient
• System.AccessViolationException in System.Collections.Generic.List`1.Enumerator.MoveNext() in IIS6
• Error about installing Jet 4.0 Service Pack 8 (SP8) for Windows Server 2003 64 Bit Edition (KB829558)
• 32 bit .NET 2.0 application is not looking under Wow6432node under HKLM\Software
• Register COM+ service on Itanium, export proxy to run on 32-bit
• VS 2005 Release Candidate Installation