I am trying to debug a esp32 One-Wire scanning C program on a ESP-Wrover-kit using JTAG. I have a global variable that holds the number of devices found on the bus (int DeviceCount). DeviceCount shows up in the watch window but I can not seem to change it’s value manually. When I right click on it I get the following options: {Add Expression, Copy Expression, Copy Value, Remove Expression and Remove All Expressions}. There is no Set Expression option. Does anyone have an idea what I am doing wrong?
Might sound dumb, but if you just click on the variable’s value, does it change to a textbox and allow you to change it? (Don’t have the VSCode debugger at hand at the moment)
No but, the program has a global array of structures variable that if I right click on any of the member variables I’m given the additional option ( Set Value). This allows the value change. This option doesn’t show on the DeviceCount Variable.