export from online compiler : debug symbols missing

22 Sep 2019

I use vs.code with nucleo stm32 boards. When using a project exported from online ide, debugging lacks variable inspection. Reason : the makefile uses -g1 option for gcc, which doesn't generate symbols for variables inspection.

I changed CXXFLAGS = -g3 to solve the issue.

18 Oct 2019

Hi Marc,

Thanks for this information.

Our online compiler default use develop.json https://github.com/ARMmbed/mbed-os/blob/master/tools/profiles/develop.json

So you can always check the compiler option there.

Regards, Desmond

You need to log in to post a reply