Debugging a VC6 app in VS2010

Jun 5, 2013 at 9:37 AM
I have a VC6 project using the MFC
I open this project in VS2010, and configure the platform tools to vc60
It compiles and works fine.
But when I want to debug an MFC function, VS2010 open the mfc file chipped with VS2010 and not the one used by my application which is in the VC6 installation folder.
Do you have the same issue ?

example :
I have a class that derive from CDialog
in the OnInitDialog of my class I put a break point on the line CDialog::OnInitDialog();
and then I try to step into.
Jun 5, 2013 at 4:13 PM
This is a Visual Studio bug that occurs when the open solution contains multiple projects targeting different MFC versions. A workaround I use is to debug the code using a new solution that contains only the single project.