Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging difference between Windows Vista e Windows 7

Status
Not open for further replies.

MarcCama

IS-IT--Management
Mar 14, 2003
62
BR
Hi all,

I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.

Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.

When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below:

Windows_Vista_Debug.jpg


Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below:

Windows_7_Debug.jpg


What do I do to fix this?

Thanks, Marcelo Camarate
 
Hi all,

Searching more deep in the Internet I found the page with title "Visual Studio Debugger crashes on Windows 7 terminating debug session" that talks about my problem. The issue occurs only in Windows 7 64-bit (which is my operating system) for the treatment of some events in Visual Basic (as the load form). To workaround for this issue, they suggests that the first column (Thrown) in the Debug / Exceptions be checked.

Regards, Marcelo Camarate
 
Thank you for sharing the answer you found.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top