NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dump core while running



Brad du Plessis(bradd%cat.co.za@localhost) said 2009.03.03 17:14:33 +0000:
> Is there a way from within a userland app to get it to core dump and 
> keep running? I'd like to see a full back trace with symbols etc. when a 
> certain error (which is handled) happens within my code but I'd like the 
> app to continue running. Searched a bit and couldn't find anything that 
> dumps the core without killing the app too.

What's wrong with attaching gdb and breaking on when that error is thrown?

> Thanks,
> Brad
        --Wouter


Home | Main Index | Thread Index | Old Index