Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code & Debug same time: Project.pjx is in use.
Message
From
05/09/2003 12:03:38
 
 
To
05/09/2003 11:54:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00823225
Message ID:
00826473
Views:
24
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. 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.

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

pamela

>Pamela,
>One thing to consider here, though, is that when running in "debug mode," you would not have your MetaData built until you (re)build or close your project. This means you would not be able to add a new library, run main.prg, and have immediate access to objects in that library as we do now
>
>As usual, it's a trade-off as to which is more important to the developer -- running 2 versions of their app, or having instant access to new libraries. Not a problem, just worth noting.
>
>---J
>
>>Move the call to BuildMetaData from Setup (it doesn't really belong there anyway) to the ProjectHook.BeforeBuild and Destroy events.
>>pamela
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform