Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP methods you miss
Message
De
16/05/2013 11:04:01
 
 
À
16/05/2013 10:23:14
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01574038
Message ID:
01574085
Vues:
84
Hmm. 'Sort of' works:
   class Program
    {
        static void Main(string[] args)
        {
            Test t = new Test();
          
            for (int x =0 ;x < 10 ;x++)
            {
                if (x%3 == 0)
                {
                    t.C++;
                }  //Breakpoint here on condition  t.C has changed
            }

        }
    }

    public class Test
    {
        public int C { get; set; }
    }
But that's not really the same as setting a global breakpoint when t.C changes - I'm checking at a specific location.....

>Nope. I've done it.
>
>Set a break point
>Right-Click on the red dot in the gutter.
>Select Condition
>
>>Don't think so. You can set a condition or a filter or monitor the hit count - but not break automatically on a change (unless in the Setter of a property :-})
>>
>>UPDATE: Unless it's C++ .....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform