- Home /
Is it normal that monodevelop launch a new unity when I start debugging?
Hi,
I am on a mac, and when I start debugging from monodevelop, it opens a new instance of unity. It's working fine, but I find it odd and wanted some confirmation on that since I haven't seen it written in the doc. Maybe I missed it.
Thanks,
Jean
Answer by Tak · Dec 09, 2010 at 01:55 PM
Hi, Please close all instances of Unity before launching a debugging session from MonoDevelop. In the future, it will be possible to attach the debugger to a running Unity instance, but at the moment it is not.
Answer by AgentSimon · May 03, 2012 at 05:55 AM
I found that a new window would open every time I ran a debugging session in Unity no matter whether Unity was opened first, opened last, or not opened at all and left to the debugging session to open it.
What fixed it for me is to attach the mono debugger with the "Attach button" in MonoDevelop to the Unity process. See http://unity3d.com/support/documentation/Manual/Debugger.html I'm in Unity 3.5.
Now that I've attached the process thru mono it's all working. Something to note though is that if I stop running in Unity, it's still attached, but if I stop in Mono is detaches.
Answer by AgentSimon · May 03, 2012 at 06:04 AM
I found that a new window would open every time I ran a debugging session in Unity no matter whether Unity was opened first, opened last, or not opened at all and left to the debugging session to open it.
What fixed it for me is to attach the mono debugger with the "Attach button" in MonoDevelop to the Unity process. See http://unity3d.com/support/documentation/Manual/Debugger.html I'm in Unity 3.5.
Now that I've attached the process thru mono it's all working. Something to note though is that if I stop running in Unity, it's still attached, but if I stop in Mono is detaches.
Your answer
Follow this Question
Related Questions
MonoDevelop Debug starts Unity, but not the application to debug 1 Answer
Why does monodevelop sets "pink", nonfunctioning breakpoints ? 1 Answer
Unity3b5 + MonoDevelop; Breakpoints Fail to Set? 1 Answer
Attaching MonoDevelop to iPhone? 3 Answers
Run unit tests (nUnit) in debug mode (MonoDevelop) 0 Answers