>- It's the same in VFP6 and VFP7. >- I've closed and superclosed any and all debug facilities. >- I've set proc to . >- I've set libr to . >- I've done CLEAR PROGRAM / ALL / DLLS / >- I've tried to toggle various SETtings. >- I've disabled the virus checker. > >Nothing helps. The only thing that helps is quitting and restarting VFP.
Apparently you have run into a different set of steps that cause a similar problem. If you can provide steps to reproduce it, I'll be glad to pass it up the line for you.
Here are the steps for reproducing the similar bug we fixed in VFP7.
1. Run the following code from a program (.PRG) file: publ oform debu strtofile('xxxx','testxx.prg') oform = crea('form1') oform.show
define class form1 as form
proc click do testxx.prg endproc
enddefine
2. Click on the form. An error occurs, select Suspend 3. The debugger appears. Alt+tab back to VFP, click in the code window for testxx.prg where the error occurs. Make a change, like typing a space at the beginning of the first line. 4. Press Cancel in the Cancel/Ignore dialog. 5. Click on the form again, this time again select Suspend
Observed:
1. In VFP6, "Source not available" appears in the trace window. You cannot recompile testxx.prg until you exit and restart VFP. 3. This works correctly in VFP7, the code in testxx.prg appears in the Trace window after Step 5.
Jim Saunders Microsoft This posting is provided “AS IS”, with no warranties, and confers no rights.