[Eric] debugging question

Detlev Offenbach detlev at die-offenbachs.de
Thu Mar 5 17:33:29 GMT 2009


On Mittwoch, 4. März 2009, Martin Bures wrote:
> I am familiar with Wing IDE from work.  When I hit an exception using that
> IDE, it breaks where the exception occurred, gives me the back trace in a
> side window and gives me control of the program from the command line at
> the exception point.  Eric seems to give me much the same which I really
> like but I have one question: in Wing, I can browse the various namespaces
> at the point of each call point in the backtrace.  Therefore, if an
> exception happens in some library that happens to catch it but not in my
> code, I click on the one that corresponds to the namespace of my code. 
> Then the stack window refreshes and I can use the command line from that
> namespace.  Eric allows me to view that slice of the stack and it allows me
> to navigate the backtrace but I cannot figure out how to get the debug
> console to switch to the desired namespace.  Can this be done?

Yes it can. Just go the the local variables viewer and select the frame you 
are interested in from the selection box above the variables.

>
> Also, can you control the depth to which the debugger follows the code?  I
> am using SQLAlchemy and when I debug my code, it gets really slow - could
> this be a function of how deep the debugger follows the code?  This also
> seems to manifest itself when stepping through the code, it continually
> descends into the SQLAlchemy code which I don't really want to do.

Eric traces all code in order to evaluate watch conditions (e.g. when a 
variable changes its value).

>
> Anyway, I really like the IDE.
> Best regards,
> martin.


Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the Eric mailing list