Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant see managed variable names when attaching a debugger to a program when using Visual Studio 2010

I have a program that have both C++ and C# code. If I start the program and later attaching the debugger to the process I can only see the variable names in the C++ code not the C# code.

If I start the program in debug from the beginning everything works good, but then the program runs really really slow.

Does anyone have a solution to this?

like image 418
hidayat Avatar asked Nov 20 '25 17:11

hidayat


1 Answers

Attach to Process dialog in my VS2005 has Attach to option, which is by default set to Native mode. This can be changed by clicking Select button and checking Managed option. Hopefully, VS2010 has something similar in its Attach dialog. Check Managed and Native for your application.

like image 75
Alex F Avatar answered Nov 22 '25 08:11

Alex F



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!