- Home /
How to have step by step debugging in Visual Studio?
Hi,
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.
Thanks.
Answer by Runalotski · Oct 13, 2015 at 01:30 PM
It seems this is no longer the case and you can now use VS commuity to debug unity and it is free
Answer by whydoidoit · Sep 29, 2012 at 12:06 PM
You would need to buy UnityVS to have breakpoints in Visual Studio.
But it's free and possible to use $$anonymous$$onoDevelop, right?
Oh yeah - works a treat in $$anonymous$$onoDevelop.
Build in Visual Studio - debug in $$anonymous$$onoDevelop is just fine. VS Debugger is a bit better than $$anonymous$$Ds, but only on complex watch expressions and trace points, everything else is just fine.
The same cannot be said for the editing experience ! VS + resharper is a world ahead still.
Not anymore. Unity VS is free with Visual Studio Community.
You just need to download an community version of VS then you can down load the Unity tools for free off of the $$anonymous$$icrosoft website
https://visualstudiogallery.msdn.microsoft.com/8d26236e-4a64-4d64-8486-7df95156aba9
If you have community 2015 then download the 2015 tools
Answer by Fragmental · Nov 11, 2015 at 04:21 AM
With Unity 5.2 http://unityvs.com/documentation/native-support/ will tell you how to get VS working with Unity. and this tells you how to do the debugging once that is all working http://unityvs.com/documentation/debugging/
Once everything is connected you can just press F5 in VS to start debugging.