[Eric] Debug modules, that are supposed to be executed with -m

Hans-Peter Jansen hpj at urpla.net
Wed Mar 15 06:52:01 GMT 2017


On Dienstag, 14. März 2017 11:17:10 Detlev Offenbach wrote:
> How is this done with pdb?

Don't know, but I guess, that the Script execute/debug dialog needs another 
option "Run as module", that adds -m to the interpeter execution arguments.

Pete

> 
> Am Montag, 13. März 2017, 23:08:13 CET schrieb Hans-Peter Jansen:
> > Hi Detlev,
> > 
> > I ran into a funny issue related to Python3.
> > 
> > How can I debug a script in Eric, if this is supposed to be executed as a
> > module (e.g. called with python3 -m ...), which happens, if one want to
> > use
> > relative paths and arbitrary entry points...
> > 
> > The option to rewrite everything with absolute paths isn't always
> > feasible.
> > 
> > Cheers,
> > Pete
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > https://www.riverbankcomputing.com/mailman/listinfo/eric



More information about the Eric mailing list