Search Unity

Debugging with MonoDevelop not working when placing breakpoint

Discussion in 'Formats & External Tools' started by hjbaard, Nov 11, 2010.

  1. hjbaard

    hjbaard

    Joined:
    Feb 5, 2010
    Posts:
    38
    I'm trying to debug my Unity 3 project with Unity 3.1.0f3 and MonoDevelop (C#) that comes with it. I'm using a Windows 7 64bit pc.
    When I follow the steps from the manual (http://unity3d.com/support/documentation/Manual/Debugger.html) I get an error saying Unity Editor is not working anymore as soon as the program hits the breakpoint.

    I've tried to place a breakpoint on different positions in my code bug the result is constantly the same :(

    What should I do?
     
  2. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Hi,

    I encounter a similar problem: After installation of Unity 3.1, I cannot debug anymore. In fact, MonoDevelop does start Unity. But as soon as I hit Ctrl+P to start the game, it freezes. No breakpoint is hit. Unity just freezes.

    The freeze does not occur when I start Unity stand-alone (not through MonoDevelop).
     
  3. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
  4. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Everything worked fine before the 3.1 update. So, for me, the upgrade to 3.1 introduced the debugging problems I encounter.
     
  5. nebulabox

    nebulabox

    Joined:
    Dec 25, 2010
    Posts:
    5
    I met this issue too. Does any solution for it?
     
  6. rockysam888

    rockysam888

    Joined:
    Jul 28, 2009
    Posts:
    650