Per issue we’ve found the actual culprit – PlatformIO has multiple toolchain-atmelavr packages for the GCC 7.3.0 version, but the very latest one does not contain the avr-gdb.exe, for whatever reason. It’s just missing. The exact version of that package is 2.70300.201015.
The other 7.3.0 GCC package version, 1.70300.191015does contain the executable and immediately works in my test.
Could you again try your project with your libraries but this time with the pacakge
I’m catching the same debugger issue, using the latest PIO and toolchain-atmelavr under CLion IDE for macOS. It seems to me, a buggy version of the toolchain (1.70300.191015 ) has become the default. That is why the previous workaround does not work, at least for me.
So, defining the previous toolchain (1.50400.190710) is solving the issue.
I managed to make it work on 1 laptop a few weeks ago, and I am not exactly sure what I have done, but I could not make it work on another. I will try with the info you gave me and get back to you asap. thanks!