无法在 MonoDevelop 中打断点 [英] Unable to hit breakpoints in MonoDevelop

查看:33
本文介绍了无法在 MonoDevelop 中打断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的 archlinux 系统上,我全新安装了:

On my archlinux system I did a fresh installation of:

  • 单声道 3.0.7
  • monodevelop 4.0.8
  • monodevelop-debugger-gdb 4.0

当我调试应用程序时,调试器不会在断点处停止,甚至不会在 System.Diagnostics.Debugger.Break (); 代码处停止.
并显示错误窗口并显示以下消息:

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

有人知道怎么解决吗?

推荐答案

作为一种解决方法,在正在运行的项目设置中取消选中在外部控制台上运行"复选框.您可以在设置窗格的运行"选项卡中找到此选项.

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.

这篇关于无法在 MonoDevelop 中打断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆