Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Breakpoint on variable change
Message
De
15/02/2011 10:59:28
 
 
À
15/02/2011 10:40:03
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Divers
Thread ID:
01500247
Message ID:
01500254
Vues:
49
>>Hi,
>>
>>I want to work out what is setting a variable to a particular value. Is there a way to set a breakpoint on something like this:
>>
>>MyVar = 1
>>
>>and then have the debugger stop when MyVar = 1 changes to false (or true)?
>
>You can't do this in the way you could in VFP - you have to select a specific breakpoint. But you can set a condition on the breakpoint:
>Select Debug/Windows/Breakpoint from the menu. Right click on an item and choose 'Condition'
>This will work if MyVar is a property. If it's not then you could temporarily make it one.....
>
>See:http://support.microsoft.com/kb/308469

Thanks Viv
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform