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
Simulation Debugging · PX4 Developer Guide

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?