[Eric] Very slow debugging

Martin Bures needemesleepe at gmail.com
Fri Sep 4 01:05:44 BST 2009


Ok - I got it to do it again.  I think I found the pattern.  It was running
along fine and then I printed the contents of a very large variable in the
shell:
(there is a variable named data)
>>> data

....

Then the whole application turns into molasses.

variable information:
name: data
type: dictionary/hash/map
value: 89 items

it is a dict{ dict{ dict{ dict{ array } }, dict{ array } }

On Thu, Sep 3, 2009 at 7:08 PM, Martin Bures <needemesleepe at gmail.com>wrote:

> I would not think so.  The whole thing turns into molases.  I tried it with
> another project I am writing and it ran fine during debug.
>
> Is there anything I could do to debug when the problem happens again?
>
> Best regards and good work on Eric - it is really coming along.  I bounce
> between it and Wing.  Eric has much better features but some quirks.
>
> martin.
>
> On Thu, Sep 3, 2009 at 12:36 PM, Detlev Offenbach <
> detlev at die-offenbachs.de> wrote:
>
>> Hi,
>>
>> in debug mode, an application is about 10 times slower than normal.
>> However,
>> that should not slow down the IDE unless your script being debugged takes
>> all
>> the CPU power. When a breakpoint is hit, the CPU should be idle after all
>> info about global and local variables have been transmitted. Could this
>> transmission be the problem? Do you have variables with huge data?
>>
>> Detlev
>>
>> On Donnerstag, 3. September 2009, Martin Bures wrote:
>> > When I hit a breakpoint in my code, the entire eric application becomes
>> > very slow and unresponsive.  Typing at the interactive shell only
>> processes
>> > ~1 character per second.  All of the rest of the application becomes
>> very
>> > unresponsive as well.
>> >
>> > Here is my info:
>> >
>> > Python
>> >
>> > 2.6.2
>> >
>> > Qt
>> >
>> > 4.5.0
>> >
>> > PyQt
>> >
>> > 4.4.4
>> >
>> > sip
>> >
>> > sip version not available
>> >
>> > QScintilla
>> >
>> > 2.3.2
>> >
>> > eric4
>> >
>> > 4.3.6 (r3297)
>> >
>> > I am running Ubuntu 9.04.  Additionally it is an SQLAlchemy 4.x
>> > application.
>> >
>> > martin.
>>
>>
>>
>> --
>> Detlev Offenbach
>> detlev at die-offenbachs.de
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20090904/4d096a3d/attachment.html


More information about the Eric mailing list