title: How to debug a live server?
body: <p>I'm taking a course which as a problem set requires building upon a teacher-provided C server framework. I've completed the server insomuch as it compiles without error, but as expected I'm getting weird bugs and the inevitable segmentation fault. I usually use GDB to chase this sort of thing down but I'm not sure how to do that when the only way I can get an error is to have the server running and submit an HTTP GET request. </p>
  
  <p>What methods are there for debugging a program like this?</p>