1 2 3 4 5 6 7 8 9 10 11<snippet> <content><![CDATA[ // __attribute__((optimize("O0"))) //before function declration #pragma GCC optimize ("O0") // at above main, for overall optimisation disable ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <tabTrigger>disable compile optimisation for</tabTrigger> <!-- Optional: Set a scope to limit where the snippet will trigger --> <scope>source.c++</scope> </snippet>