Debugging C++ CLI from MFC/C++ Breakpoints not hit, why? Settings?

Markus Freitag 3,791 Reputation points
2022-08-08T06:43:53.85+00:00

Hello,

nothing work.

I have a C++, CLI project and would like to debug it.
It does not work.
Checked many settings, changed them, nothing helps.

Can anyone tell me the setting?
C++ I used mixed code!

VS2019 Prof.

Later I want to use the library via C#.

MFC Client --- CLI/C++ to a C# DLL

228947-mix-cpp.png

228936-cli-cpp-not-work-debug-mode.png

Developer technologies | C++
Developer technologies | .NET | .NET CLI
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 49,551 Reputation points
    2022-08-08T09:28:38.93+00:00

    You need to use the Mixed Debugger. For example, -

    229112-mixed.png

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.