Unity and Visual Studio 2010

Hello,

I’ve just got started with Unity, and I’m looking forward to all the creations I will make once I get around some of the teething problems with a new tool.

However, I’m having trouble finding out how to break into a script I am running.

I had the Visual Studio all set up for editing my scripts, which worked great. But now I need to set a breakpoint and see whats going on in runtime. I could’nt find a way to get it debugging, so I change it to the default code editor to try there, but that wont break either. So I tried setting the project back to VS2010, and it keeps opening the default editor!!

Could someone help me out? How do I set the project to use VS2010 (It says it is, but just opens the default text editor) and how do I set up debugging?

Thanks.

I don´t know about not openning the VS if the it´s set correctly, but as far as I know, the only way to set breakpoints and debug the pro way is to use the version of monodevelop that is installed with Unity 3.

Okay, so I’ve got MonoDevelop running, but it still wont hit on my breakpoints?!

Breaking into debug mode is THE most important tool in a development environment, why is it so difficult with Unity?

There are some instructions here: http://unity3d.com/support/documentation/Manual/Debugger.html

Beyond what’s in there, I’ve heard on the forums that you need to have Unity closed when you start debugging in MonoDevelop (it will launch the Unity editor in debug-mode).