Hacker News new | ask | show | jobs
by srcmap 1758 days ago
One gdb trick I used:

   Use simple gdb script,  break, print vals, cont, 
   This allows one to debug and app's internal states without rebuilding with printf enable. 
   Combine the above with automated regression test system, one to debug very hard problems that might take hours/days to repro.