[yocto] Debugging custom python code in recipes
Alan Martinović
alan.martinovic at gmail.com
Fri Nov 1 14:30:35 PDT 2019
Cool, thanks.
This one seems to be the most up to date from the python debugger wrappers:
https://github.com/ionelmc/python-remote-pdb
The `shell_wait()` in your bbclass is related to the pdb() functionality?
On Fri, Nov 1, 2019 at 10:14 PM Ross Burton <ross.burton at intel.com> wrote:
>
> On 01/11/2019 20:44, Alan Martinović wrote:
> > Hey,
> > there was a question today about options for debugging python scripts in yocto.
> > I've patched up this PoC for remote debugging.
>
> FWIW, I've done something similar using bare pdb.
>
> https://github.com/rossburton/meta-ross/blob/master/classes/pdb.bbclass
>
> Just call pdb() from Python context. Not as neat as epdb though.
>
> Ross
More information about the yocto
mailing list