在V.Studio中进行调试 [英] Debugging in V.Studio

查看:102
本文介绍了在V.Studio中进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我调试时
让所选索引无效
用于选择组合框.

错误或异常显示
在controls.cs文件下.

我的意思是combobox1.cs文件并保留原始
程序位置.

When I am Debugging
let the Selected Index is not Valid
for Combo box selection.

The Eror or exception is showing
under the controls.cs file.

I mean combobox1.cs file and leaving the original
program location.

help needed How to avoid this.

推荐答案

听起来像您看到的错误显示在控件本身的代码中,您认为这是错误的" "地方.听起来好像您想调试代码,并且不想看到在调试过程中没有编写的代码. Visual Studio具有一个名为"Just My Code"的设置,该设置使您仅在调试时才能看到您的代码.在调试"部分的选项"菜单下,可以选择此框,并且不再应该看到调试时未编写的代码.

以下是有关仅我的代码"选项的更多信息的链接:

http://msdn.microsoft.com/en-us/library/h5e30exc (v = vs.80).aspx [
It sounds like the error you are seeing is showing up in the code of the control itself, which you feel is the "wrong" place. It sounds like you want to debug your code and don''t want to see the code that you didn''t write as part of the debugging process. Visual Studio has a setting called "Just My Code" that allows you to only see your code when debugging. Under the Options menu in the Debugging section, you can select this box and you should no longer see code you didn''t write when you are debugging.

Here is a link to more information about the "Just My Code" option:

http://msdn.microsoft.com/en-us/library/h5e30exc(v=vs.80).aspx[^]


这篇关于在V.Studio中进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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