x


MonoDevelop 2.4 with Unity 3.0

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

more ▼

asked Jul 16 '10 at 09:34 PM

Sean Bang gravatar image

Sean Bang
31 1 2 4

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

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)

more ▼

answered Oct 31 '10 at 03:53 PM

pky99 gravatar image

pky99
71 2 2

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)
10|3000 characters needed characters left

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.

Note that if you stop playing the debugger will detach, and restarting won't reattach, so you have to exit Unity, and restart debugging from MonoDevelop to debug again. (This has been fixed in Unity 3.0.0b4)

more ▼

answered Jul 17 '10 at 02:40 AM

Lance Sun gravatar image

Lance Sun
1k 12 16 41

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)
10|3000 characters needed characters left

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

more ▼

answered Jul 16 '10 at 09:47 PM

Mike 3 gravatar image

Mike 3
30.5k 10 65 252

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
Dec 16 '10 at 11:23 PM yoyo
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x376
x239

asked: Jul 16 '10 at 09:34 PM

Seen: 11320 times

Last Updated: Jul 28 '10 at 05:15 AM