add a check for gdb
[very wip!] trying to get str.format working