Couldn't you do almost the exact same thing using pdb, without all the C API / register stuff?
Maybe I misunderstood the post, but it sounds like you're just stopping right before the request returns, reloading the module, generating a new response, and allowing execution to continue.
You're right! You could do all of this with pdb, but only if you have enough foresight to run the app under pdb to begin with (which I definitely never do).
Using GDB, you don't have to change the app or remember to run it in a particular way.
[+] [-] robbles|13 years ago|reply
Maybe I misunderstood the post, but it sounds like you're just stopping right before the request returns, reloading the module, generating a new response, and allowing execution to continue.
Why is GDB required for any of this?
[+] [-] ebroder|13 years ago|reply
Using GDB, you don't have to change the app or remember to run it in a particular way.
[+] [-] pc|13 years ago|reply
[+] [-] agumonkey|13 years ago|reply