无痛醒砖工

码着码着,就湿了
[转]程序员自己写的神器 MonoDevelop 4 (Xamarin Studio) Debugging for Unity

原文地址 http://www.cliffordroche.ca/monodevelop-4-xamarin-studio-debugging-in-unity/

 

MonoDevelop 4 (Xamarin Studio) Debugging for Unity


This weekend I took some time to try and port the MonoDevelop.Debugger.Soft.Unity addins to Xamarin Studio. As it turns out it wouldn’t work, even when the addin compiled and loaded, because it relied on functionality that was added to the base MonoDebugger.Debugger.Soft namespace by Levi Bard; this add-in is built with MonoDevelop/Xamarin so instead I elected to fork the MonoDevelop 4.0 project from github, reintegrate these changes and build a MonoDevelop 4.0 package with the Unity soft debugger included.

After about a day of work I am now able to use MonoDevelop 4.0 to connect, and debug for Unity. While everything does appear to work, there is a warning that popsup when I launch the game about an object being garbage collected, but pressing OK will get you through it. Perhaps I’ll look into why this happens soon.

In the mean time, grab the MonoDevelop-Unity 4.0.6 build here: (OSX | Windows). Dont forget to grab mono and Gtk# over at http://www.go-mono.com/mono-downloads/download.html

GitHub: MonoDevelop forkMonoDevelop.Debugger.Soft.Unity fork

Edit: I’ve spoken with one of the kind developers at the MonoDevelop project, in the next two weeks I’m going to begin work on pushing necessary improvements to the main repository for MonoDevelop and build a MonoDevelop Add-in to more easily distribute the Unity Soft Debugger. This should (in theory) make it compatible with MonoDevelop 4 and Xamarin Studio once complete.

Update 2013-07-04 – Work on making a more robust add-in is nearly complete. I am working with the MonoDevelop project to get a couple of changes pushed which I expect to be done this weekend, then I merely have to prepare the addin package to be included in the MonoDevelop/Xamarin addin repository. I’ll post again once I have more updates.

MonoDevelop-Unity Attach to Process Screen Shot 2013-05-18 at 17.22.00

This entry was posted in Unity on May 18, 2013.

posted on 2013-07-06 16:17  cydonia  阅读(3408)  评论(0编辑  收藏  举报