ä»åãEmacsã®gdbæ©è½ã使ã£ã¦èª¿æ»ãã¾ããã PHPã®ã½ã¼ã¹ã³ã¼ããã³ã³ãã¤ã«ããå¾ã«ã M-x gdb Run gdb (like this): gdb -i=mi ./sapi/cli/php mainé¢æ°ã«ãã¬ã¼ã¯ãã¤ã³ããããã㦠(gdb) b main ã¯ã³ã©ã¤ãã¼ã§PHPã³ã¼ããå®è¡ (gdb) run -r 'echo "hello"' ãã®å¾ã²ãããstepå®è¡ãç¶ãã¦ãããã£ã½ãã¨ããã¾ã§ãããbacktrace (gdb) bt #0 sapi_flush () at /home/vagrant/src/php-src/main/SAPI.c:994 #1 0x000000000075f232 in php_output_op (op=0, str=0x7ffff7ed0d20 "hello", len=5) at /home/vagrant/src/php-s
{{#tags}}- {{label}}
{{/tags}}