cesiumforunity有没有什么方便快捷的调试c++底层代码的方法,目前用vscode调试过程中unity老是崩溃
而且每次更改过后都需要编译dll很麻烦
We have used both Visual Studio Code and regular Visual Studio to debug the native code in Cesium for Unity, and find it works very well. The easiest way is usually to attach the debugger to the Unity process after it’s started. As usual with C++ code, you won’t get a good experience unless you have all the debug symbols, which means you need to use the Debug
configuration (or at least RelWithDebInfo
configuration) when you’re building the native code.
Needing to recompile every time you change the code is, unfortunately, unavoidable.
我的vscode在#include位置报红提示找不到源文件,但是不影响调试unity
thanks