Page 1 of 1

wtf question

Posted: Sat Feb 22, 2014 3:10 pm
by BruceN
i've used wft to see a value at a place in the code. is there a way to have it display the value every time a variable changes value?

i have an 2 dimansional array (a_TopTen) that somehow is getting reset from 9 elements to 7 and i can't seem to find where or how it's happening.

is there a detailed description of the wtf function?

as always... thanks

bruce

Re: wtf question

Posted: Fri Feb 28, 2014 2:58 pm
by rdonnay
Unfortunately, Xbase++ doesn't support any trigger for this.

Re: wtf question

Posted: Sun Mar 02, 2014 4:17 pm
by BruceN
is there a way to see the value of a variable at every point without using a million wtf's or msg boxes?

Re: wtf question

Posted: Sun Mar 02, 2014 9:59 pm
by Cliff Wiernik
You should be able to use the Xbase++ debugger. I have not used it but saw a demo of it by Stephan at Roger's last devcon in 2008 in Boise. I have not used a debugger since my early clipper days about 1985/86/87.

Cliff.

Re: wtf question

Posted: Mon Mar 03, 2014 11:25 am
by rdonnay
Cliff is right.

If you want to step through code while observing a memory variable you need to run under XPPDBG.EXE.