Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging
Message
De
25/05/2010 08:53:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01465827
Message ID:
01465852
Vues:
84
>>Hi,
>>
>>Do we have a neat solution to overcome the message : (Expression could not be evaluated) and consequently no stop while you made a breakpoint in the watch window for a variable changement?
>>
>
>Can you say a little more about what is happening? The only reason I can think of for that error message is that the expression is invalid. What am I missing?

Mike,

For instance, I presume you have the GDIplus120 samples 'on board'
start demo
select Transformations
click on Modify (button)
select the command6.Click method
insert "Set Step on" on the top
run form
debugger will come (as requested)
insert in watch window " Thisform.imgVFPXPowered.Picture"
it will give you a value
now double click on the leftside to mark for watch when changed (red button) will confirm you did.
now run (Ctrl+M)
debugger will prompt on xfcsystem.drawing_access :with "Break when " Thisform.imgVFPXPowered.Picture" changes.
confirm OK
" Thisform.imgVFPXPowered.Picture value is now (Expression could not be evaluated) and therefore not eaqual to earlier value.
This is because the variable is out of scope and not invalid
What I would like to do alter the watch window condition so that it will not stop when the value is "Expression could not be evaluated"
I believe I have read a syntax to arrange this only thing I cant remember.

Regards,

Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform