Re: Debug Watch does not show all of an array
Easiest way I know is to add absolute watches.
assuming this snip
Code:
MyArray VAR BYTE [20]
CounterA VAR BYTE
START:
FOR CounterA = 0 TO 20
MyArray[CounterA] = 20-CounterA
NEXT
FOR CounterA = 0 TO 20
MyArray[CounterA] = CounterA
NEXT
GOTO START
In watch window, If I add _MyArray, it's address is set to 0x01D. That's MyArray[0]... period. If I want to watch the whole thing, what I'll do is to add Absolute addresses watches.
Easy step-by step:
1. in watch windows right click ...somewhere then select add
2. At the bottom of the window, you'll have 2 fields... start address & end address. I set start address with 0x01D (begining of MyArray), and end address with 0x031...
3. click on add address.
4. click on done
Congrats, you're done.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks