wtf question

This forum is for eXpress++ general support.
Post Reply
Message
Author
BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

wtf question

#1 Post 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
There are only 10 kinds of people - those who understand binary and those who don't :)

User avatar
rdonnay
Site Admin
Posts: 4772
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: wtf question

#2 Post by rdonnay »

Unfortunately, Xbase++ doesn't support any trigger for this.
The eXpress train is coming - and it has more cars.

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: wtf question

#3 Post 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?
There are only 10 kinds of people - those who understand binary and those who don't :)

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: wtf question

#4 Post 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.

User avatar
rdonnay
Site Admin
Posts: 4772
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: wtf question

#5 Post by rdonnay »

Cliff is right.

If you want to step through code while observing a memory variable you need to run under XPPDBG.EXE.
The eXpress train is coming - and it has more cars.

Post Reply