"Go" script debugging with built-in MonoDevelop for Unity3d

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.