今天在网上打的方法...
To enable/disable Just-In-Time debugging
On the Tools menu, click Options.
In the Options dialog box, select the Debugging folder.
In the Debugging folder, select the Just-In-Time page.
In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script.
To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.
Click OK.
===============================================================================
启用/禁用实时调试
在“工具”菜单中单击“选项”。
在“选项”对话框中选择“调试”文件夹。
在“调试”文件夹中选择“实时”页。
在“启用这些代码类型的实时调试”框中,选中或清除相关的程序类型:“托管”、“本机”或“脚本”。
要在启用实时调试后禁用它,必须使用管理员特权运行。启用实时调试会设置一个注册表项,需要管理员特权才可以更改该项。
单击“确定”。