Chris Quenelle is a tools developer at Oracle Corp. He's worked on performance and debugging tools at Sun and Oracle for over 15 years. He reads comic books and science fiction,and has more tivos than he can keep track of.

 

March 2007
SMTWTFS
«Feb Apr »
 123
45678910
11121314151617
18192021222324
25262728293031

Stopping right before your crash

I just got this question from Steve down the hall.  It’s so mind-bogglingly useful,that everyone who uses dbx needs to know how to do it.  The scenario goes like this. Your program crashes in strcpy sometime in the middle of the run,after about a zillion calls to strcpy.  But you want to stop [...]