title: Monodevelop: `Waiting for debugger`
body: <p>I am trying to debug <a href="https://github.com/hbons/SparkleShare/tree/master/SparkleShare/Linux" rel="nofollow noreferrer">this Mono desktop software</a> in Monodevelop.</p>
  
  <p>I imported the SLN file, ran <code>Build all</code> with success, but when I press the <code>Debug</code> button I get this popup that stays waiting forever saying <code>Waiting for debugger</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/ZTLNA.png" alt="Monodevelop: Waiting for debugger"></p>
  
  <p>The output says:</p>
  
  <blockquote>
    <p>User assembly '/home/nico/src/SparkleShare/SparkleShare/bin/SparkleShare.exe' is missing. Debugger will now debug all code, not just user code.</p>
  </blockquote>
  
  <p>My first line of code is a <code>Console.WriteLine</code> whose output does not appear anywhere.<br>
  Am I doing something wrong?  </p>
  
  <p>Monodevelop 3.0.3.2 on Ubuntu 2012.10.<br>
  Nothing special appears on the console with <code>monodevelop -v -v -v</code>.</p>
  
  <p>When I press <code>Start Without Debugging</code> instead of <code>Start Debugging</code>, the app crashes immediately saying <code>The application exited with code: 255</code>, but I need Debug to find where the problem is.</p>
  
  <p>When I press <code>Debug Application...</code> and select <code>bin/SparkleShare.exe</code>, Monodevelop does nothing. The UI does not react in any way, it is like I pressed nothing.</p>
  
  <p>When I run the application from command line, it runs fine (no crash), but Monodevelop does not react in any way, so I can't use it to debug:</p>
  
  <pre><code>mono --debug  bin/SparkleShare.exe
  </code></pre>
  
  <p>Debugging in Monodevelop works fine with a solution created from scratch.</p>
  
  <p><a href="https://stackoverflow.com/a/13740078/226958">Here is a hack to debug in Monodevelop</a> that works here, but it is quite painful, and unsupported.</p>
  
  <p><i>Note: It is not the same problem as <a href="https://stackoverflow.com/questions/9716141/waiting-for-debugger-to-connect">this question</a>, which is about MonoTouch waiting for a phone simulator... the suggestions over there are about the simulator or updating XCode... no simulator nor XCode here.</i></p>