Strange debugger behavior
Jeff Harrison
jeffaharrison at yahoo.com
Sun Oct 1 19:16:43 PDT 2006
--- Tom Carey <wtcarey at comcast.net> wrote:
> 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>
Yes, the debugger does interfere with the @sk values.
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHImport and JHExport. The fastest and
easiest ways to create code for filePro Imports and
Exports.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Filepro-list
mailing list