Information générale
Catégorie:
Test et débogage
Versions des environnements
Network:
Windows 2003 Server
>Hi everybody,
>
>Unlike VFP, then an exception is caught, there seems to be no way to go back to the previous line of code that caused the exception and examine the content of the variable.
>
>Is it really a problem in VS or I am doing something wrong?
>
>Thanks in advance.
It depends on if the variable is still in scope. If its an unhandled exception and the debugger stops you on the line of the error, you should still be able to view the variable's value. If you are handling the exception and the variable goes out of scope you'll need to set a breakpoint and view the value before the exception.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement