Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shelling to external exe..can't debug
Message
De
19/07/2001 18:59:38
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
19/07/2001 16:56:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00532862
Message ID:
00532907
Vues:
14
>I am running an app that converts older 2.6 prg's into vfp6 app's and
>class lib's in order to debug in vfp and all is well until I call
>the VFP main exe from my app and it calls the converted.prg that has 'set step on' placed in it does not recognize that I have the VFP compiler open so
>it gives me error that feature is not available?
>I'm using 'do program.exe' to call this from convert.app
>
>Any ideas?
>
>thanks in advance..

Ronnie-

It's not clear to me. Are you running convert.app from VFP? From the error message it sounds like you are running it outside of the VFP runtime. These are the steps I followed to try and duplicate your problem (which I couldn't do).

I created a MyConvert.PJX with a MyConvert.PRG that does:
SET STEP ON
DO myProgram.exe
I created a MyProgram.PJX with a MyProgram.PRG that does:
MESSAGEBOX('HELLO.')
LOCAL lx
lx = 1
I built MyProgram.EXE.
I built MyConvert.APP.

I then did DO MyConvert.APP from the command window. At the break point, I was able to step into MyProgram.PRG just fine.

Things to check:
1) You're running from VFP runtime.
2) The projects have debug info checked in the project info.
3) The EXE and APP were compiled successfully.

HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform