[yocto] How to use pdb together with pyshell?

Michel D'HOOGE michel.dhooge at free.fr
Thu Nov 24 10:00:29 PST 2016


I want to do a step by step debug of the populate_sdk_ext task, and 
unfortunately I'm not fluent in python.

I tried to put a pdb.set_trace() call at the beginning of the
do_populate_sdk_ext function and then call:
bb.build.exec_func('do_populate_sdk_ext', d)

But this didn't work...

And I also noticed that the log of the task, with & without pyshell,
is quite different. Is there something I should do before?

Thanks for your help (to improve the debian PM side of the world).


More information about the yocto mailing list