I never had problems debugging this way. And we don’t have an option for this, but you can change the flag -Os
in
https://github.com/PX4/Firmware/blob/master/cmake/common/px4_base.cmake#L675
to -O0
.
I never had problems debugging this way. And we don’t have an option for this, but you can change the flag -Os
in
https://github.com/PX4/Firmware/blob/master/cmake/common/px4_base.cmake#L675
to -O0
.