Debugging my code (in Visual Studio)

Hello all,

I’m new to Unity, but have some experienced in C# development.

I’d like to know if it’s possible to not only create my code, but also live-debug it from Visual Studio? (attach to the Unity process).

The code that is written in C# to be executed in Unity is compiled with the Mono compiler as far as i understand, however some tools (Mono Tools) exist to enable debugging from within Visual Studio.

Has anyone tried this setup before?

Thanks

you can not debug in VS, not even with the mono tools.

you must use monodevelop as it is a custom module developed by UT to work with Unity, not the default debugger etc

Thanks for replying.

Is the API used by Unity to develop this custom module available to, for example , create a VS extension that will allow this?