On 28 September 2015 at 22:10, Bernhard Stegmaier
<[email protected]> wrote:
> And maybe a dumb question, but… how do I get some debugging output from 
> kicadplugins.i?
> Will a simple Python print() show something? Where?
>
> Regards,
> Bernhard

See the comments about stdout not being open for python:
https://github.com/KiCad/kicad-source-mirror/blob/master/scripting/kicadplugins.i#L43

Just open a new file to direct stdout to temporarily while you're
debugging/testing:
http://stackoverflow.com/questions/4675728/redirect-stdout-to-a-file-in-python#answer-4675744

Best Regards,

Brian.

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to