Expression Cannot Be Evaluated at this time

  • Thread starter Thread starter lp
  • Start date Start date
L

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?
 
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 said:
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?
 
Back
Top