MDAs 是Managed Debugging Assistants的缩写。如果启用了这个功能,当MDAs事件被触发时,会出现一个异常未被处理的对话框,即使没有处于debug状态。

禁止MDAs对话框的产生,参见http://msdn.microsoft.com/en-us/library/d21c150d.aspx

Note

When an MDA is enabled, it is active even when your code is not executing under a debugger. If an MDA event is raised when a debugger is not present, the event message is presented in an unhandled exception dialog box, although it is not an unhandled exception. To avoid the dialog box, remove the MDA-enabling settings when your code is not executing in a debugging environment.

Note

When your code is executing in the Visual Studio integrated development environment (IDE), you can avoid the exception dialog box that appears for specific MDA events. To do that, on the Debug menu, click Exceptions. (If the Debug menu does not contain an Exceptions command, click Customize on the Tools menu to add it.) In the Exceptions dialog box, expand the Managed Debugging Assistants list, and then clear the Thrown check box for the individual MDA. For example, to avoid the exception dialog box for a contextSwitchDeadlock MDA clear the Thrown check box next to its name in the Managed Debugging Assistants list. You can also use this dialog box to enable MDAs.

 
 

转载于:https://www.cnblogs.com/limei/archive/2010/06/11/1756518.html

禁止MDA对话框的产生相关推荐

  1. VC对话框禁止关闭按钮和禁止任务管理中关闭进程

    1.BOOL C***Dlg::OnInitDialog() { //禁止关闭对话框  CMenu* pMenu = this->GetSystemMenu(FALSE);  pMenu-> ...

  2. vc 中对对话框的几种操作

    注:以下代码以一个名为CTest6Dlg的对话框类为例 ------------------------------------------------------------------------ ...

  3. CWnd的派生类-3、CDialog类

    对话框与普通窗口的区别仅在于,对话框是通过对话框模板建立起来的.只需要一个以模板为实参的创建命令,如CDialog::Create(),就可以完成对话框窗口及其子控件的创建工作,所有创建细节都由对话框 ...

  4. dll修改和EXCOPE

    一.什么是DLL DLL是Dynamic Link Library的缩写,意为动态链接库.在Windows中,许多应用程序并不是一个完整的可执行文件,它们被分割成一些相对独立的动态链接库,即DLL 文 ...

  5. C# 最小化到系统托盘的实现(一)

    最近做个小程序试验, 没有时间一直研究,偷偷用了些上班时间完成了. 目标:程序点击关闭后,弹出一个对话框,选择退出,最小化,或者取消.然后系统托盘双击,可以打开最小化的程序,右键有菜单,菜单里有个&q ...

  6. Win32 API 函数列表

    ID编号 函数名 函数说明 详细说明 Win16支持 Win9x支持 WinNT支持 1 AbortDoc 终止一项打印作业  Yes Yes Yes 2 AbortPath 终止或取消DC中的一切路 ...

  7. Win32 API 函数列表1(格式有点乱)

    西安邮电学院 徐兆元 ID编号 函数名 函数说明 详细说明 Win16支持 Win9x支持 WinNT支持 1 AbortDoc 终止一项打印作业  Yes Yes Yes 2 AbortPath 终 ...

  8. CAD2017打开图纸点字体替换时没有字体选择框的问题

    近日公司设计师电脑遇到一个问题,对于不懂CAD软件的IT来说,折腾了老半天才弄明白. 情况如下,当打开CAD文件时,弹出缺失字体替换选项,点击后却没有弹出选择字体的对话框而是如下图 直接关闭后 弹出错 ...

  9. 一步一步学习DVWA渗透测试(CSP Bypass绕过内容安全策略)-第十二次课

    小伙伴们,今天我们继续学习. Content-Security-Policy是指HTTP返回报文头中的标签,浏览器会根据标签中的内容,判断哪些资源可以加载或执行.翻译为中文就是绕过内容安全策略.是为了 ...

最新文章

  1. ELECTRA 超过bert预训练NLP模型
  2. python全栈开发笔记---------函数
  3. Selenium3自动化测试——20.使用HTMLTestRunner获取测试报告
  4. 把tensor转为numpy_如何在TensorFlow中将张量转换为numpy数组?
  5. Redis跳跃表详解
  6. 我们学的技术会过时吗?甚至被淘汰?
  7. 使用 HTML5 canvas 绘制精美的图形
  8. suse glibcxx版本过高问题
  9. 【AI视野·今日CV 计算机视觉论文速览 第165期】Mon, 21 Oct 2019
  10. java 判断文件是否打开过_【后端开发】Java中如何判断文件是否被隐藏?(代码示例)...
  11. Linux 中进程的管理
  12. AIDE手机编程初级教程(零基础向) 3.2.2 设计欢迎页(补充)
  13. ELK-使用nxlog+filebeat采集不同类型的日志输出到logstash
  14. JavaSE、JavaEE、JavaME
  15. 阿里云云服务器部署HTML静态网页
  16. 超声光学成像突破衍射极限
  17. 异构应用异构数据库用魔方智能中间件FIX平台转化
  18. web网页调用本地cs客户端程序exe
  19. 公司中生存奥秘诙谐解说[转]
  20. python Gstreamer 播放不同编码格式的视频文件

热门文章

  1. PCB线路板||检查和避免PCB电路板短路的方法
  2. 【编程入门】开源记事本(安卓版)
  3. c4droid用c语言画爱心,【图片】[自学C语言第五天]发一个作品【c4droid吧】_百度贴吧...
  4. php----stream_select函数用法
  5. 简要介绍Eclipse
  6. MySQL数据库引擎、数据事务与隔离级别
  7. 这篇博士毕业论文致谢句句诛心……
  8. 巴士博弈_自主穿梭巴士内部和服务的设计
  9. python适合做网站吗_怎么用python做网站
  10. PT柜、进线柜、出线柜、隔离柜