I am writting a C# application using Windows Forms and Visual Studio 2010 Professional. The machine is using Windows 7 Enterprise and it is 32bit. Although i think it is not relevant, i am working on a virtual machine (using Remote Desktop Connection).
The problem is that when an exception is generated in the Load method of a form, both VS and the program freeze/hang (actually, i can't even show a folder or go to desktop) and it just stops when I kill the process of the application i was debugging.
This happens in debug mode (F5) and not in non-debug mode (ctrl+F5). I searched a lot about this and this is a known issue for x64 machines. This is why I find it really weird that it is happening, exactly as a lot of people report for 64bit computers, but in a x86 architecture.
By now i am getting of by running the code i want to debug in another function besides the Load one, but in the future it might be problematic.
Thanks in advance for any kind of input.
------------------------------ EDIT ---------------------------------------------
I just noticed that I can't even debug using breakpoints in the Load method (instead of showing the break point, it just hangs...). Nobody had this issue before? :/