Depending on how many variables you need to inspect, you can either return the necessary data to the browser, or trace through your script. Tracing requires a little more preparation, but allows you to step through your code, place breakpoints and use the watch window.
The above are the last two techniques listed in the
Debugging FoxWeb Scripts page in the FoxWeb documentation. Please refer to this page for details.
FoxWeb Support Team support@foxweb.com email |
Sent by Jeff Grippe on 11/28/2005 01:36:38 PM:
Hello,
I have a FoxWeb Script which is essentially:
A please wait message
Lots of VFP code
A response.redirect once the code has completed
There is an IF in the middle of the code that I expect to be activated that is not being activated. What is the best debugging technique to use
to inspect the variables and database fields that I think should contain
certain values but apparently don't
Thanks,
Jeff