Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code & Debug same time: Project.pjx is in use.
Message
De
05/09/2003 14:18:02
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
05/09/2003 12:03:38
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00823225
Message ID:
00826568
Vues:
24
Pamela,

>Well, BuildMetaData is a method of my project hook, so I can call it any time I want. (It's actually in my devlopment menu.) I also call it from those two events.

Great idea! Hadn't thought of calling it directly... obviously a short-sighted Friday here on the left coast. I'll have to try adding it to a project hook (we haven't done anything with them as of yet, but this looks like a great place to start)

>My setup.prg code runs in production where the pjx isn't even available. As Chris said, you need to choose which is more important and running two instances of VFP when debugging is by far more important to me. Taking code that is not needed in production out seems a small price to pay.

We'll probably do both. It's only one extra line of code to run in production -- the call to BuildMetaData() is wrapped in a test for "debug mode" -- and now we won't be forced to remember to run the project hook before main.prg

>
>Just one of hundreds of ways to organize things. <g>
>

And now it's hundreds + 1

---J
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform