No Symbols loaded in mixed C# C(win32) project using VS2010

后端 未结 3 485
遇见更好的自我
遇见更好的自我 2021-01-03 02:39

My project has several new C# modules and one C module (not C++) compiled using win32 system calls. I\'m using the PInvoke interop layer to call the C code from the C#. Th

3条回答
  •  无人及你
    2021-01-03 03:13

    Here is my fifty cent. In my case it appeared that the pdb files of my c++/cli projects were not updated anymore, while the pdb files of my c# projects were. This probably rendered them invalid and made the debugger fail to load them.

    I remembered to have moved the source base of my project. After a little bit of grepping it occurred to me that some absolute path issue might be the problem. Running a git clean -dfx solved the problem for me.

提交回复
热议问题