Hi,
I'm using the Keil uVision V4.03q.
I wonder if there's any setting to be able to watch all variables during debugging? If I want to watch a function argument in a function it says: 'out of scope' so I have to define a static copy of that variable to be able to watch it
Optimization is set to minimum level.
Thanks
Henk
The 'out of scope' problems are solved with MDK-4.23 using Cortex-M targets. For ARM7/9 targets, there is also a corrected version which will be part of the next MDK release by around mid of March.
If there are still 'out of scope' displays, then this shown by intention since the lifetime of a local variable may be restricted as specified by Elf/DWarf's location expressions - not necessarily 'what you mean is what you get'...