>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