Gdb optimization in vscode

Hi,
I try to debug the FixedwingPositionControl.cpp in vscode, and it looks like gdb optimization so the code jump strange.
then I follow the
https://dev.px4.io/master/en/debug/simulation_debugging.html

export PX4_NO_OPTIMIZATION='px4;^modules__uORB;^modules__systemlib$'

but it doesn’t work
so, does anyone had this issue? and any method to close optimization for all modules?