[yocto] Debugging custom python code in recipes

Ross Burton ross.burton at intel.com
Fri Nov 1 14:14:22 PDT 2019


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