Graphical watch not updating
Hi,
I have a C style array globally defined: uint16_t vbat[64] = {50};
And after starting the debugging the code hits the break point and the graphical watch view is shown. But the signal is always zero although I press proceed to hit the breakpoint again. Any hint what I am missing.
Kind regards,
Okay, I just checked that the graphical debug is only running if the c-style array is double. If it is an int it does not show up. Any hint? I am debugging with a STM32 processor.
C-arrays are matched with this regexp:
https://github.com/awulkiew/graphical-debugging-vscode/blob/master/resources/stl.json#L6
Maybe it's incorrect or the type reported by your debugger is something wierd?
Does short and unsigned short work?
Btw, what debugger do you use? cortex-debug?
I just checked with cppvsdbg and it works ok.
uint16_t is unsigned short for me, what is it for you?