断点不能在WinRT CPP文件上工作
问题描述:
我有一个UWP C#项目。我正在为它添加一个WinRT cpp项目解决方案。 .CS文件在cpp上调用函数。我已经添加了中断点。但是运行时控制权不会转为cpp。我曾尝试以下changes.But显示没有影响断点不能在WinRT CPP文件上工作
Rebuld the project
Tools > Options > Debugging > General > Enable Edit and Continue
Tools->Options->Projects and Solutions->Build and Run. Make sure the top two options ('On Run, when projects are out date' and 'On Run, when build or deployment errors occur') and in a reasonable state (NOT 'never build' or 'Launch old version').
Breakpoint not hit,or cpp code is not called all?他们是两个不同的问题 – kennyzx
cpp代码正在调用。破发点不会击中它 – user2431727