cancel
Showing results for 
Search instead for 
Did you mean: 

debug SFRs

Saliwan128
Associate

I can't read/change the SFR values while debugging in CubeIDE .

value of all Registers is "error reading value"

If I try to do that IDE throughs and error.

The only way to read/change values is by suspending the debugging session.

I remember this feature was there in CubeIDE or am I missing something?

my stmide version is  1.16.1

Screenshot 2024-11-14 133954.png

0693W00000NqiAGQAZ.png

  

2 REPLIES 2

@Saliwan128 wrote:

The only way to read/change values is by suspending the debugging session.  


Indeed.

As the message says, you can't do that while the target is running - you have to  Halt:

AndrewNeil_0-1731583798759.png

 

In fact, there is no way for me to see the registers live and without interruption during execution??

Do you have solution for this problem?