Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debug Problem: Source Not Available
Message
 
 
To
18/10/2001 11:55:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00570309
Message ID:
00570321
Views:
25
I have had the same problem because I keep my PRG files in a Programs subfolder while the compiled APP is in the parent folder. Even though my PROGRAMS folder is in the VFP search path, I could not avoid the Source not available until I copied the source code to the same folder as the APP. This is a real PITA because the next time I issue a MODI COMM, I am editing the copy in the parent folder while the PRG in the Project Manager still points to the one in my PROGRAMS folder.

To overcome this problem of Source not Available, I had to modify my Project class to delete these copies from the parent folder before building the APP or EXE. Then in the after build, I have copies of the PRG copied back to the parent folder.

Now I just have to remember to only edit the PRGs via the PM or delete the copies first.

>I suddenly started receiving the message "Source not available" for a .prg when stepping through executing code.
>
>To make sure I wasn't having a version conflict or anything like that, I created several .prgs, each with a unique name, placed each in a separate subdirectory that participates in the project and modified some code to call each prg in turn. Each executed, but the the source was not available.
>
>I'm totally stymied--I've never had this problem before. Any ideas?
>The only thing that changed on my system was that last night I installed Diskeeper and ran it to defrag my hard drive, but I doubt that could have affected anything. I am seeing the source for classlib methods.
>
>thanks in advance, Chaim
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform