Can't edit variable in debug.

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a uint8_t automatic variable for which "Edit value" both in the locals and watch window right-click menus is greyed out when I. Other variables seem ok.

 

I do see this in the "type" column for the variable (loop):

 

        loop    170    uint8_t(multi-location:
  Range 0x6ee0-0x6eee: a complex DWARF expression:
     0: DW_OP_const1s -86
     2: DW_OP_stack_value

 

Other variables display their type more sensibly.

 

What could be causing this?

 

TIA.