How to have step by step debugging in Visual Studio?


Is it possible to have breakpoints when coding in Visual Studio (I use 2008 Professional) and make Unity to break at those breakpoints?

I’ve heard it’s possible in MonoDevelop but am wondering how one can do in VS.


It seems this is no longer the case and you can now use VS commuity to debug unity and it is free

You would need to buy UnityVS to have breakpoints in Visual Studio.


With Unity 5.2
UnityVS will tell you how to get VS working with Unity. and this tells you how to do the debugging once that is all working UnityVS

Once everything is connected you can just press F5 in VS to start debugging.