show stack traceback upon receiving specific signal

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

show stack traceback upon receiving specific signal

#1 Post by tiger_eye »

I'm not sure how t-engine currently handles signals, but would it be possible to send the process a signal (such as SIGUSR1) to make it print the traceback of the Lua stack?
darkgod wrote:OMFG tiger eye you are my hero!

Post Reply