Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Source not available'
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00056375
Message ID:
00056412
Vues:
30
>I am trying to debug my executable which I am running from inside VFP 5.0,
>In other words it is not standalone.
>
>I always rebuild ALL files when I rebuild the exe....
>
>However when the debug window comes up instead of seeing code it always says
>'Source not available' ?
>
>This app hides the VFP desktop with _screen = off in the resource file and
>_SCREEN.VISIBLE = .F. in my start.prg
>
>Not only is the code unavailable to the debug window but my error handler
>routine will not return the line no of the code & only the first word of the
>line of code that causes the error ???
>
>I have been working with this app for months and in the past have been able
>to debug with no problems ? I can't figure out whats going on.
>
>Any help would be greatly appreciated !
>
>Greg Foote

Greg,

The debugger is actually displaying the source code when the Trace window appears. If this the source code is either not on the FoxPro path, or not in the default directory, you'd see this kind of behavior. Additionally, at least for this app, you should have the debugger running in its own window by specifying "Debug Frame" rather than "FoxPro Frame" under Tools/Options/Debug.

hth,

George
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform