By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,173 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,173 IT Pros & Developers. It's quick & easy.

Expression Cannot Be Evaluated at this time

P: n/a
lp
While debugging an application, whenever i enter into a specific function,
all watch values refering to this function get the error message:
"Expression Cannot Be evaluated at this Time". The function works and does
everything it's supposed to but it seems i just can't wiew watch values
within that function. Anyone?

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
lp
Answering my own question:

Still weird behaviour but it was simply that one of the methods used within
that function was declared as a Function instead of Sub even though it did
not actually return anything.

"lp" <lo****************@americdisc.com> wrote in message
news:Q8********************@giganews.com...
While debugging an application, whenever i enter into a specific function,
all watch values refering to this function get the error message:
"Expression Cannot Be evaluated at this Time". The function works and does
everything it's supposed to but it seems i just can't wiew watch values
within that function. Anyone?

Nov 20 '05 #2

P: n/a
* "lp" <lo****************@americdisc.com> scripsit:
Answering my own question:

Still weird behaviour but it was simply that one of the methods used within
that function was declared as a Function instead of Sub even though it did
not actually return anything.


Can you post the code sample that didn't work?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.