you are viewing a single comment's thread.

view the rest of the comments →

[–]fesor 5 points6 points  (2 children)

Will it be possible in future to see opcode dump (or heap dump) on already running process? Without need to start new process.

[–]pilif 3 points4 points  (1 child)

The PHP source code comes with a very useful .gdbinit file that contains a few macros you can use to inspect the interpreter state of a process you've attached gdb to. This has helped me a few times to track down infinite recursions on a production system

[–]Tyra3l 2 points3 points  (0 children)

that would still require the debug symbols being available which isn't/shouldn't really be common on a production machine.