arduino esp32 jlink debugging libraries

Sysprogs forums Forums VisualGDB arduino esp32 jlink debugging libraries

This topic contains 1 reply, has 2 voices, and was last updated by  support 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26184


    Arduino / esp32 / jlink  / debugging libraries

    I have noticed a problem that I cannot debug source code from libraries even if i tick the “Debug build disables optimization for:”  Arduino Libraries – debugging is crashing during single stepping – looks like the old inline issue like this “

    weirdly I can debug just fine if i move the .cpp and .h files to the same directory as the sketch file??

    as i said before great system – just a few issues

    Adam Watson




    No problem. Although fixing the Espressif’s GDB executable is outside of what we can offer as a part of VisualGDB, we have updated our Arduino project subsystem to allow editing common build parametersvia the regular VS Properties so that you could try the workaround described in the Github issue. Please try this build: VisualGDB-

    Then open VS Project Properties for the Arduino project, go to C/C++ -> Optimization and set Inline Functions to No. This should affect both the main sketch and the libraries, working around the problem.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.