Strange debugger behavior

Tom Carey wtcarey at comcast.net
Sun Oct 1 13:37:11 PDT 2006


I'm reasonably new to FP. Working on 4.05.07 DOS ( dont' ask).

I find that the debugger seems to do things that I don't expect. I have a series of statements on a @wlf that check the @SK to see if it was an ENTR or SAVE key and branch off to different routines based on the key stroke and other combined conditions.

If I single step thru the code, the first line correctly tests the @SK. Subsequent lines don't seem to preserve the @SK  correctly, so the test for a SAVE key does not show as true. I am using the "S" key to single step thru the code. 

I have used show statements to prove that the first line of code is correctly testing the @SK.  And I did figure out that the show"@\...." required a keystroke to clear the message and that entered a new key stroke into the @SK vlaue. So I quit doing that.

Does the "S" keystroke used to single step replace the @SK value?

If I single step thru this code I wind up in different code than I do when I execute it without the debugger. 

Thanks
Tom Carey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20061001/821d05ba/attachment.html


More information about the Filepro-list mailing list