关于超时问题 [英] Regarding Timed out Problem

查看:84
本文介绍了关于超时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在c#控制台应用程序中工作.我的问题是在调试应用程序时,如果尝试打开数据表以查看检索到的db数据,则会显示异常.
Exception : function evaluation timed out..
如何解决这个问题..
请帮助我

Hi to all,

I''m working in c# console application..My problem is when i debug the application, if i try to open the data table for viewing retrieved db data, it shows exception.
Exception : function evaluation timed out..
how to solve this problem..
pls help me

推荐答案

有一个设置,VS调试器可以通过该设置来决定等待超时异常发生之前要等待多少时间.可以覆盖此值:

There is a setting by which VS debugger decides how much time to wait before time out exception occurs. One can override this value :

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger


在注册表中的上述位置,您将找到两个键:


At above location in the registry you will find two keys :

1. NormalEvalTimeout
2. QuickwatchTimeout



您需要更改这些键的值.它们的值以毫秒为单位.



You need to change the values for these keys. The value for them is in milisecond.

Default Values :
1. NormalEvalTimeout : 5000 ms
2. QuickwatchTimeout : 15000 ms



希望这会有所帮助.
一切顺利.



Hope this helps.
All the best.


这篇关于关于超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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