I really hit my head on the notorious wall above it.
I have a solution that contains C # and C ++ code projects.
I often call the C ++ DLLs that are compiled in this project with C # through P / Invoke. No problem. All the necessary debugger settings using the file *.sln, as well as the C ++ and C # files, were installed correctly, as far as I know. Note: I can often debug similar P / Invoked C ++ code without problems!
Naturally, I realized that perhaps the characters did not load, but when I opened the modules window, I found that the DLL I was trying to go to was not even indicated! Running a function in my C # program really uses the DLL (I get the correct output), but, watching the Modules window, the DLL still does not appear.
Does anyone have any idea what is going on?
tl; dr
I have a lot of experience with P / Invoked C ++ debugging. However, the DLL that I want to debug does not even appear in the list of modules (therefore, I obviously cannot enter it if the VS debugger does not seem to be completely aware of its existence).
source
share