[Eric] Very slow debugging
Detlev Offenbach
detlev at die-offenbachs.de
Sat Sep 5 09:00:35 BST 2009
Hi,
I think you hit a QScintilla problem I have seen as well. It gets very slow,
when it has to display looong lines (scrolling horizontally turns into a pain
the longer the lines) or when line wrapping is switched on.
So far, Phil could not cure either of the problems (AFAIK).
Line wrapping of the shell can be configured on the Shell page of the config
dialog.
Regards,
Detlev
On Freitag, 4. September 2009, Martin Bures wrote:
> 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
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list