how to usr gdb to debug my module?

php.internals

taft

21 years ago
I have write a simple module, but I have no idea on how to debug it. I need to step run and set breakpoint. I think gdb is a nice debuger. Could any one provide some clue for debuging, not only gdb. wishes