我一定是傻瓜什么的 [英] I must be dumb or something

查看:101
本文介绍了我一定是傻瓜什么的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是vb.net的新手(我是一名老vb6程序员)。我无法弄清楚

是一种观察变量的简单方法。在vb6中我所做的只是右键单击并且

可以选择在变量机会以及如何扩展宇宙时停止执行。 (背景)我想要观看。在.net我必须

在调试模式下工作,但我不知道如何在

变量改变时如何停止执行,也不会控制我想要观察的上下文。 br />

任何帮助将不胜感激

解决方案

尝试在特定的行上插入一个断点将鼠标悬停在

变量上或在执行过程中使用本地窗口

你的应用程序


谢谢,但是在VB6中你可以全局监控变量,当价值变化时它会停止
停止,所以你不需要知道在哪里放置

停止

非常适合调试,所以我无法想象MS会放弃这个

功能

如果我知道vOn 2006年11月16日08:44 :15 -0800,geo039

< ca ************ @ hotmail.comwrote:


>尝试在特定行上插入断点当执行通过
你的应用程序时,将鼠标悬停在
变量上或使用本地窗口


我不认为这可以在VB2005中找到,我也非常想念它。

旧的功能都不在那里,或者我不知道该怎么做。

过去几周我已经多次看过这个问题,

并且没有人回复,所以我认为它不在那里。

出于绝望,您可以将变量更改为属性,

并附加更改事件。如果您不知道该怎么做,请重新发布
,我会看到我能想到的。


当然然后你必须把整件事拿回来。

(或者离开酒店,它不会伤害任何东西。)


罗宾S.

ps旧是一种心态。 :-)


< Ja *** @ aol.comwrote in message

news:36 ************ ******************** @ 4ax.com ...


谢谢,但在VB6中你可以全球监视变量,它会在价值变化时停止
停止,所以你不需要知道在哪里放置

停止


非常适合调试,所以我无法想象MS会放弃这个

功能


如果我知道vOn 2006年11月16日08:44:15 -0800 ,geo039

< ca ************ @ hotmail.comwrote:


> ;>尝试在特定行上插入断点并将鼠标悬停在
变量上,或者在执行通过
您的应用程序时使用本地窗口



I am new to vb.net (I am an old vb6 programmer). I cannot figure out
an easy way to watch variables. In vb6 all I did was right click and
could chose to stop execution when a variable chances as well as how
extensive a "universe" (context) I want it to watch. In .net I must
work in debug mode but I do not see how to stop execution when a
variable changes nor controlling how brad a context I wish to watch.

Any help would be appreciated

解决方案

Try inserting a breakpoint on a specific line and hovering over a
variable or using the locals window when the execution runs through
your application


Thanks but in VB6 you could globally moitor the variable and it would
stop when the value changes so you do not need to know where to place
the stop

Excellent for debugging so i cannot image that MS would drop this
feature
If I knew where the vOn 16 Nov 2006 08:44:15 -0800, "geo039"
<ca************@hotmail.comwrote:

>Try inserting a breakpoint on a specific line and hovering over a
variable or using the locals window when the execution runs through
your application


I don''t think this is available in VB2005, and I really miss it, too.
Either the old functionality isn''t in there, or I don''t know how to do it.
I''ve seen this question posted multiple times over the past few weeks,
and nobody ever responds, so I think it isn''t in there.

Out of desperation, you could change the variable to a property,
and attach a change event to it. If you don''t know how to do that,
re-post and I''ll see what I can come up with.

Of course, then you have to take the whole thing back out afterwards.
(Or leave the property in, it wouldn''t hurt anything.)

Robin S.
p.s. Old is a state of mind. :-)

<Ja***@aol.comwrote in message
news:36********************************@4ax.com...

Thanks but in VB6 you could globally moitor the variable and it would
stop when the value changes so you do not need to know where to place
the stop

Excellent for debugging so i cannot image that MS would drop this
feature
If I knew where the vOn 16 Nov 2006 08:44:15 -0800, "geo039"
<ca************@hotmail.comwrote:

>>Try inserting a breakpoint on a specific line and hovering over a
variable or using the locals window when the execution runs through
your application



这篇关于我一定是傻瓜什么的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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