1

As I have learnt that a Perl debugger can be controlled dynamically using the file .perldb in your home directory, I was wondering if there is a C debugger also which can be manipulated in the same way. So I could set breakpoints at a certain point and print some variables and so on.

4

1 回答 1

0

You can set breakpoints and print values in GDB via commands in ~/.gdbinit, yes.

于 2013-08-07T05:20:33.950 回答