Tools->Options->Dump out settings changed
Try this:
ACTIVATE WINDOW "debug output"
Now choose Tools->Options. Shift-Click on OK
You’ll see the options dialog settings echoed to the Debug Output window. (in versions prior to VFP9, it will be echoed to the Command window)
The DoHistory is also echoed to the same window.
Try this:
ACTIVATE WINDOW "debug output"
SET DOHISTORY ON
FOR i = 1 to 10
?i
ENDFOR