摘要 |
PROBLEM TO BE SOLVED: To provide a data trace device 20 tracing data of an array element of array variable even when a suffix of the array variable is variable. SOLUTION: A sampling condition setting section 250 can set the array variable and the suffix variable of the array variable in combination. When the variable used for sampling set by the sampling condition setting section 250 is array variable, an array address arithmetic section 220 calculates the address of the element of the array variable specified with the value of the suffix variable of array variable, and sets it and the value of the suffix variable of the array variable in a sampling executing section 210. The sampling executing section 210 determines the value of the element of the array variable from the address of the element of the array variable, records it and the value of the suffix variable of the array variable in a sampling buffer 230 every sampling period, and displays the recorded value of the element of the array variable and the value of the suffix variable of the array variable every sampling period. COPYRIGHT: (C)2008,JPO&INPIT
|