It is possible to update periodically global variables and whatever has memory (e.g. memory mapped registers) with the KL25Z (or any Kinetis).
Hello,
there is the 'Registers' view (Window > Show View > Register) for this.
You can view the peripheral registers as well without debugging:
Hello Eric,
Thanks for your quick response.
But it seems that the neither registers in 'Registers' view nor global variables in 'Variables' are updated dynamically in debug run mode; only when I press the Suspend button, the updated value is reflected/shown. What should be done to make it for dynamic update?
To my knowledge it is not easily possible to refresh the CPU registers while running. And that would be probably not practical as they are changing very fast. If you want to show a few peripheral registers, that's possible if you show them as variables. See Live View for Variables and Memory | MCU on Eclipse
What about global variables, even they are not updated? I can understand that the variables or registers are updating so fast that you can't view its value unless you suspend debug. I had used CW IDE(not eclipse based - in one of my prev project) for HCS12X based controller in which in debug mode i can view the variables and registers getting updated dynamically in run mode.
Yes, global variables can be updated as for the HCS12(X). See Live View for Variables and Memory | MCU on Eclipse