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 | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | .NET | .NET CLI
0 comments No comments
{count} votes

Answer accepted by question author
  1. RLWA32 51,456 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.