Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Breakpoints not being honored???
Message
De
18/02/2011 07:47:25
 
 
À
18/02/2011 07:37:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01500604
Message ID:
01500684
Vues:
46
>>We have a couple of large VFP9 SP1 projects (forms, classes, etc.) where in form code we put a breakpoint and we open the debugger and then we run and the breakpoint doesn't stop the code.
>>
>>Does anyone have a fix for this?
>>
>>We hate putting SUSPENDs in the code.
>
>You can put a condition around it:
>
>IF SET("DEVELOPMENT") = "ON" and GETENV("USERDOMAIN") = "MYDOMAIN"    && etc specific for you, check sys(0) or whatever
>     SET STEP ON
>           *or*
>     ASSERT .F. && no need for condition for this
>ENDIF
>
I believe SET STEP ON is ignored during run time so there is no real need to check for DEVELOPMENT
Frank.

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

Click here to load this message in the networking platform