Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing VFP to Internal Refresh of Breakpoints
Message
 
 
To
27/11/2005 12:52:07
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01072274
Message ID:
01072319
Views:
32
Greg,

If you're using Debug frame, you can save current Debugger configuration (including breakpoints) with 'File -> Save Configuration' and restore it with 'File -> Load Configuration'. The file created is in ASCII text format so you can easily create/modify it.

>I have developed a UDF that will set/clear a breakpoint in the FoxUser.dbf (default resource file). I can USE the resource file after executing the UDF and goto to the appropriate record (id='BPOINTS') and see that the breakpoint is set (or cleared). However, executing the breakpoints dialog (Ctrl-B) does not see the change applied by the UDF. Reopen the resource table and the breakpoint data is set. However, if you close VFP and then restart VFP and now open the resource table, any changes previously made by the UDF are not present.
>
>Further testing of setting Breakpoints (using VFP and not UDF) and then viewing the results of setting/clearing breakpoints in the resource table does not show that the breakpoint information is being immediately updated in the resource table. It appears that VFP reads the breakpoint resources once at startup and then writes the information only at shutdown.
>
>So the effect of the UDF is being eliminated. My question is, does anyone know of a way to force VFP to perform a flush of the breakpoint settings to the resource table and then initiate a re-read of the breakpoint settings from the resource table within the VFP development environment without a shutdown of VFP?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform