[Eric] Re: debugger and zipped eggs

Detlev Offenbach detlev at die-offenbachs.de
Sat Apr 12 09:28:59 BST 2008


On Freitag, 11. April 2008, G Jones wrote:
> I would be happy to help you debug this, but I first need to be able
> to tell what module is actually importing this pkg_resources business.
> Is there a way to trace where a module got imported from? In general,
> if I am debugging code, is there a way to see a trace of how I got
> into a certain function?

The Local Variables viewer has a combobox, that shows the callframe. By 
selecting a frame and pressing the Source button, that file will be opened 
and the cursor place at the appropriate line.

Detlev

> Glenn
>
> On 4/11/08, Detlev Offenbach <detlev at die-offenbachs.de> wrote:
> > On Freitag, 11. April 2008, G Jones wrote:
> >  > I am having the same issue mentioned in this thread:
> >  > http://www.mail-archive.com/eric@riverbankcomputing.com/msg00765.html
> >  > I am not sure which package is importing pkg_resources, and thus
> >  > causing the problem. Is there anyway to see a trace of where I am in
> >  > the program, that is, what line of my code imported the package that
> >  > imported pkg_resources?
> >  > I am running eric4.1.2 r2105
> >  > Thank you,
> >  > Glenn
> > >
> > > _______________________________________________
> > >
> >  > Eric mailing list
> >  > Eric at riverbankcomputing.com
> >  > http://www.riverbankcomputing.com/mailman/listinfo/eric
> >
> >  Unfortunately Daren and myself were unabled to trace the problem so far.
> > Any help is highly appreciated.
> >
> >  Regards,
> >  Detlev
> >
> > --
> >  Detlev Offenbach
> >  detlev at die-offenbachs.de



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list