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