Debugging Helpers of php sources with QtCreator
Debugging Helpers for console
$ gdb -ix php-src/.gdbinit php-install/bin/php(gdb) break php-src/ext/ftp/ftp.c:711(gdb) run -f test.phpBreakpoint 1, ...(gdb) print zstr$1 = (zend_string *) 0x7ffff6882960(gdb) print_zstr zstrstring(9) "Hello GDB"(gdb) print $1->len$2 = 9(gdb) print $1->val$3 = "H"(gdb) print $1->gc$4 = {refcount = 1, u = {type_info = 22}}(gdb) ((zend_compiler_globals *) (((char*) _tsrm_ls_cache)+(compiler_globals_offset)))To show complex structures, such as HashTable* or zval, in a clear and concise manner, Qt Creator uses Python scripts that are called debugging helpers.
For more informations : https://doc.qt.io/qtcreator/creator-debugging-helpers.html /usr/share/qtcreator/debugger/qttypes.py

