Skip to content

Latest commit

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

php-src-gdb

Debugging Helpers of php sources with QtCreator

zval of zend_string display

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)))

Using Debugging Helpers

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.

use extra debuger

For more informations : https://doc.qt.io/qtcreator/creator-debugging-helpers.html /usr/share/qtcreator/debugger/qttypes.py

About

Debugging Helpers for QtCreator

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages