Thursday, January 08, 2009

Do not need Ctrl+break to generate the Thread Dump

I try to use the sendSignal.exe to generate Theaddump in our application, it is easy to use and I put the thread Dump into instead of a console....
start the application by CMD: XXX.bat > logfile1.log
then just call SendSignal , it will generate TD into logfile1.log
I set the log level into Error, so there is only TD info in logfile1.log if no any error exsits.
it saves my time :)

here is the Link for sendSignal:
http://www.latenighthacking.com/projects/2003/sendSignal/

No comments:

Post a Comment