[bitbake-devel] [PATCH] bitbake: enable pdb tracing

Chris Larson clarson at kergoth.com
Fri Aug 2 21:05:40 UTC 2013


On Thu, Aug 1, 2013 at 7:19 AM, <joe at deserted.net> wrote:

> From: Joe MacDonald <joe at deserted.net>
>
> Based on:
>
>    http://blog.devork.be/2009/07/how-to-bring-running-python-program.html
>
> register a signal handler to dynamically start pdb tracing on receiving
> SIGUSR1.
>
> Signed-off-by: Joe MacDonald <joe at deserted.net>
>

As long as you keep in mind this will only affect the UI, not the forked
off server, this could be useful. I'd suggest adding something for the
server as well, but it'd need to listen to a socket for the input, lacking
access to the user's tty, or would need to interface with the UI to do it :)
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20130802/417c2c06/attachment-0002.html>


More information about the bitbake-devel mailing list