Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set step on
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01517567
Message ID:
01517675
Vues:
45
>>>Hi All, does c# have a equivalent to Foxpros' Suspend / Set Step On ?
>>
>>
>>
>>System.Diagnostics.Debugger.Break();
>>
>>
>>
>>Kurt
>
>Thanks everybody - exactly what I was looking for - it's useful sometimes when the breakpoints in the IDE don't fire for whatever reason :-(

Unless you actually want to debug the Release version it can be a good idea to conditionally compile:
#if DEBUG
            System.Diagnostics.Debugger.Break();
#endif
(assuming you haven't changed the default configurations)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform