Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio is not loading modules when attaching to process

I have a C++ application. When i press F5 in visual studio application starts and i can debug it. But when I run application from windows explorer and then attach this process in visual studio I see breakpoints can be hit (they are completely red) but breakpoint does not hit. When I see modules window nothing is present there. What is problem?

like image 247
fhnaseer Avatar asked Oct 15 '12 07:10

fhnaseer


1 Answers

Verify the code type Visual Studio is configured to load symbols. Attach To Process dialog has Select Code Type option to specify which symbols to load. Here you can select Managed symbols and/or Native symbols.

Also the assemblies should be of same version.

like image 90
jags Avatar answered Oct 18 '22 05:10

jags