Continuing the discussion from Debugging on the new Nano ESP32:
The debugging is getting better.
There are some issues though in my setup (Ubuntu 23.04, Arduino IDE 2.2.1, Arduino ESP32 Boards 2.0.13).
The compiler issues a warning:
/home/c/.arduino15/packages/arduino/hardware/esp32/2.0.13/cores/esp32/esp32-hal-uart.c: In function 'uartSetPins':
/home/c/.arduino15/packages/arduino/hardware/esp32/2.0.13/cores/esp32/esp32-hal-uart.c:153:9: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
/home/c/.arduino15/packages/arduino/hardware/esp32/2.0.13/cores/esp32/esp32-hal-uart.c:149:6: note: declared here
bool uartSetPins(uint8_t uart_num, int8_t rxPin, int8_t txPin, int8_t ctsPin, int8_t rtsPin)
^~~~~~~~~~~
When uploading, after the double tap, the upload progress bar does not stop when the upload is complete and finishes with an error. The upload is OK though.
The round button for starting the debugger is grayed out saying "No board selected" although it is.
I start the debugger from the debugger pane. Occasionally the round button is enabled but I don't known under which conditions that happens. I also managed to drag the debugger icon out of the sidebar by mistake and could not get it back. I deleted the Arduino related generated directories (~/.arduino15, ~/.arduinoIDE, ~/.config/arduino-ide, ~/.config/'Arduino IDE'), did a new install of the board but the debugger icon did not appear. The debugger button was enabled though and pressing it made the debugger icon in the sidebar re-appear. The question is: are there other directories to remove to make a fresh start?
As mentioned in earlier posts the global variables are not shown but specifying them in the watch section works.
Kind regards!