Debugging in Unity (C#) + Visual Studio Code Work on OS X?

后端 未结 7 1868
小鲜肉
小鲜肉 2021-02-12 10:04

I really like the idea of working with Visual Studio, C# and Unity on OS X.

Has anyone made debugging with C# in Unity work with Visual Studio Code on OS X?

7条回答
  •  孤城傲影
    2021-02-12 10:47

    The Unity Debugger for Visual Studio Code is working, but doesn't work well enough when doing any kind of serious work for now. I really hope they will improve it in the future as I prefer VS Code over VS.

    Current problems I encountered -Sometimes I cannot step in a function, the debugger will hang until you detach -no local variable, you have to watch everything -some more complex variable have no support, so you can't see what is inside -A bit overall unstable with unexpected behaviours.

    What I love about it, Attaching & Detaching is a breeze. Just press a button, allowing to attach and detach quickly as needed. e.g. At the beginning of the program I work on, there will be an bunch of exception. I can detach and attach quickly to skip the exceptions.

    The problems with it are too constraining as it currently stands, I had to go back to the classic Visual Studio.

提交回复
热议问题