Re: [yocto] Debugging custom python code in recipes

2019-11-01 Thread Ross Burton
On 01/11/2019 21:30, Alan Martinović wrote: Cool, thanks. This one seems to be the most up to date from the python debugger wrappers: https://github.com/ionelmc/python-remote-pdb Entirely worth writing a proper class and pushing a layer somewhere. The `shell_wait()` in your bbclass is relate

Re: [yocto] Debugging custom python code in recipes

2019-11-01 Thread Alan Martinović
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 wrote: > > On 01/11/2019 20:44, Alan Marti

Re: [yocto] Debugging custom python code in recipes

2019-11-01 Thread Ross Burton
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.bbcl

[yocto] Debugging custom python code in recipes

2019-11-01 Thread Alan Martinović
Hey, there was a question today about options for debugging python scripts in yocto. I've patched up this PoC for remote debugging. If someone finds it useful (it should be copy-pastable), feel free to ping me back. Am opet to shaping it into a friendlier format and discover potential issues. ``