Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What type of setup do you use to analyze, debug, and follow the code?

Any tips on getting started with module development?



Another apache hacker answering :-)

I use emacs and gdb to muck around the code. Apache has a lot of backwards compat warts with regard to which header files define things, unfortunately, but grep (or ack) and ctags will get you around.

The best way (by far) to learn about module hackery is with Nick Kew's book, http://www.amazon.com/Apache-Modules-Book-Application-Develo...


Another vote for Nick Kew's book. He is a regular poster on the modules-dev mailing list[1], by the way.

`httpd -X` and `gdb httpd $(pidof httpd)` are a great help when debugging.

[1] http://mail-archives.apache.org/mod_mbox/httpd-modules-dev/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: