gdb - sdk backtraces and C++ print inf loop fix