|
Hi, everyone. I have some problem with MonoDevelop 2.4. I've tried to use MonoDevelop as a debugger. So I run Unity first, opened MonoDevelop, and tried to find out "Debug" button. Finally I found the "Debug" Button in the gray buttons. Could you please coach me how to activate this "Debug" button??? My computer has Windows XP SP3, and VS 2008. Do I need any plug-in or another installation? Any advice is welcome. Thank you. Sean
(comments are locked)
|
|
First under unity editor goto preference then click on "External Script Editor", browse the folder where you install Unity 3. In the Unity 3 folder, you will see a folder called "MonoDevelop". Open the folder "MonoDevelop" then click on the "MonoDevelop" exe shortcut. Next press "Sync Monodevelop Project" under Assets menu. Then it will auto launch the MonoDevelop editor with the Unity Debugger. (Note, please do not point to the actual "MonoDevelop" exe file, this will not be work for unity debugger. The unity debugger only work if you point to the "MonoDevelop" exe shortcut under Unity 3 folder) THIS IS IT! Thanks, that did it for me, I was having the same problem: there was no "Unity >> Debugger" option on my MonoDevelop IDE. After I changed the "External Script Editor" and clicked "Sync Monodevelop Project", Unity automatically opened MonoDevelop and in preferences the "Unity >> Debugger" option appeared!
Dec 06 '10 at 03:58 AM
diegoleao
Update: I also had to point the "Editor" field to Unity.exe in Unity >> Debugger
Dec 06 '10 at 04:03 AM
diegoleao
(comments are locked)
|
|
You need to set the path to the Unity Editor first. Tools -> Preferences -> Unity Debugger -> Editor Location. And when you start debugging, MonoDevelop will launch Unity for you. Once you hit the play button in the editor, the debugger will attach.
Thank you for your advice. However, I got a problem that I couldn't find find "Unity Debugger" button in preferences of MonoDevelop. I downloaded MonoDevelop from http://MonoDevelop.com. Sould I download it from somewhere else? Thank you again.
Jul 19 '10 at 02:22 PM
Sean Bang
You need the special unity one which is linked to from the same place as the unity 3 download
Jul 19 '10 at 03:00 PM
Mike 3
Thank you so much. God bless you.
Jul 19 '10 at 06:54 PM
Sean Bang
Awesome, it works! Before I changed this MonoDevelop preference setting it would keep launching Unity 2.6 (which I still have installed).
Dec 14 '10 at 09:26 PM
yoyo
(comments are locked)
|
|
Other way round - you need to launch Unity via the debug button Documentation for debugging is in /Documentation/Manual/Debugging.html (relative to your install folder) - I would read the entire thing Thank you for your respond. Just quick question. Where did you download MonoDevelop? I downloaded it from http://MonoDevelop.com, but I couldn't find such directory. Thank you again.
Jul 19 '10 at 02:23 PM
Sean Bang
Docs are online as well -- http://unity3d.com/support/documentation/Manual/Debugger.html
Dec 16 '10 at 11:23 PM
yoyo
(comments are locked)
|
