Original address: http://blog.csdn.net/setflvet/article/details/8102586
Unity3d version 3.0, supported with MonoDevelop debugging, this article uses the Unity3d 3.5.5f3.
First, download and install Unity3d (3.0 or above) and the built-in MonoDevelop (install Unity3d when the hook can, 1), remember is built-in Monodevelop,monodevelop the official download version is no unity3d debug plugin.
Figure 1-Tick MonoDevelop
Second, set the Unity3d. In Unity3d, select "Edit"-"Preferences ..." and in the External Tools tab, External Script Editor is set to MonoDevelop (built-in).
Figure 2-Setting Unity3d
Third, set the MonoDevelop. In MonoDevelop, select "Tools"-"Options ...", set the path to the Unity3d in "editor location" on the "Unity"-"Debugger" tab, and tick "Launch Unity Automatically "and" editor location ".
Figure 3-Setting MonoDevelop
In Unity3d-project, right-click the code you want to debug, select "Sync MonoDevelop Project" in the pop-up menu, and open the project code in MonoDevelop.
Figure 4-monodevelop Open Code
Five, close the Unity3d, set breakpoints in MonoDevelop for code, click the Debug button or press F5 to debug, MonoDevelop will automatically open Unity3d, at this time in Unity3d Click Play Run, breakpoints will work.
"Go" script debugging with built-in MonoDevelop for Unity3d