IDE 2.3.0 debugging esp32s3 using built-in usb jtag

The issues:

  1. Debugger fails when trying to "launch" i.e. flash new code and then debug. I got around this using an "attach" configuration that uses existing uploaded code.
  2. The debug side-window goes blank after I upload a newly compiled project. I simply restart the IDE. I may have to reset the micro as well before gdb-server is happy
  3. Trying to single-step thru the constructor in a class . Culprit seems to be a maths function used on one line. pow(). Up until then single-stepping was ok. After that it wasn't. Since it was 2 to a power, I used 2<<n instead and now single stepping works ok. (will be a problem elsewhere tho')
  4. Looking at local variables in the debug window and lots of them appear "optimized out" even though I have "optimize for debugging" turned on in the sketch settings
  5. Small bother, but uploading newly compiled code WITHOUT first stopping the debugger causes problems. It'd be nice if that happened automagically.
  6. Disabling a breakpoint has no effect. Still breaks at that point. So I remove them and put them back later. OK if I only have a few breakpoints but it's nice to have a list that I can turn off and on. Did find that if I disable/enable a break point, then stop debugging, then restart debugging, it DOES have an effect.
  7. IDE 2.3.1 fixed the 'blank debug window' problem but introduced a new one. Now variables don't show. (This had been working in the nightly build I was using that also fixed the blank debug window but the released 2.3.1 has introduced this new problem)