Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where variable was updated
Message
De
23/09/2004 14:54:24
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
23/09/2004 06:57:25
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00945303
Message ID:
00945484
Vues:
24
>hi,
>
>i've tried to do some tracing with the debugger of vs. i used the 'Watch' and 'Locals' to monitor my variables at the same time using the 'Step Into' to see which lines affect the variables in my 'Watch' list. strange thing is my variable 'Name' changes values but the statements that were executed via the 'Step Into' did not pass any statement that would have changed the value of 'Name'. where should i look to find the code that affects my 'Name' variable?
>
>thanks.

Bobby,

You are probably seeing a change in scope, not value. Based on the variable name, the watch window will display the value of the variable matching that name with the smallest scope. Which is the same way that .NET handles the scope of variables with the same name.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform