Question VS2005, Windows 7 and Breakpoints

BumpaRoy

New member
Joined
Sep 1, 2009
Messages
2
Programming Experience
10+
I have recently upgraded to Windows 7 RTM. All of the sudden, I can not get a break point to work. I have created a brand new WinForm project with one form on it. In the load event I am trying to set a Breakpoint on a Debug.Print line. It does not fire but the form still is displayed. The message is "The breakpoint will not currently be hit. The source code is different from the original version."

I have done a second Windows 7 install on a separate machine with VS2005 and I get the exact same problem.

I am able to run this same project under VS 2005 on an XP machine.

This is a new project, there is no "original version".

I have VS 2005 loaded with SP1 and SP1 fix for Vista

There are no build errors listed.

I have removed IE 8.

I am in "Debug" mode.

I am not using any source-safe.

I am at a dead-end. Any help would be greatly appreciated.
 
Check your settings

Go into Tools >> Options on the menu, check show all settings on the lower check box, make sure on environment >> keyboard, it is set to Visual Basic 6 mapping scheme. Also check the debugging properties to allow breakpoints. Settings may have changed when you updated your software or service packs
 
Thanks for the reply, but that didn't work. The keyboard mapping was empty, but that didn't fix it. The only thing I can do to get it to work is to uncheck the "Require source files to match the original version". This can't be the correct setting. My XP machine has that option checked and it works fine.
 
BumpaRoy,

Microsoft does have an official Windows 7 Support Forum located here Windows 7 Category . It is supported by product specialists as well as engineers and support teams. You may want to check the threads available there for additional assistance and feedback.

Jessica
Microsoft Windows Client Team
 

Latest posts

Back
Top