The problem with debugging C ++ code from a .NET application

I have a .NET service (C #) that uses a couple of C ++ libraries. I desperately need help with C ++ methods, but when I set breakpoints, they become disconnected at runtime.

Where to look?

I install "Attach Debugger" in the C ++ project settings, but this is a bit like a change.

I ask for advice. Where to look?

Libraries are a fastfix mechanism if someone cares.

+5
source share
2 answers

You need to enable unmanaged code debugging for your project. For this:

  • "".
  • "" " ".

   

, .NET Framework, . , .

, , " " , "".


, .

. , [], Visual Studio .

" ". :

  • "..." " :".
  • , "Native" "Managed".

     

+9

Project PropertiesDebug

Enable unmanaged code debugging

+2

All Articles