Search code examples
debuggingmonomonodeveloparchlinux

Unable to hit breakpoints in MonoDevelop


On my archlinux system I did a fresh installation of:

  • mono 3.0.7
  • monodevelop 4.0.8
  • monodevelop-debugger-gdb 4.0

When I debug an application the debugger doesn't stop on the breakpoints, even not on the System.Diagnostics.Debugger.Break (); code.
And an error windows is displayed with the following message :

Could not connect to the debugger

Does anyone know how to fix it?


Solution

  • As a workaround untick the "Run on external console" checkbox in your running project settings. You can find this option in the "Run" tab from the settings pane.