By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,589 Members | 1,102 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,589 IT Pros & Developers. It's quick & easy.

Slow debugging with Komodo

P: n/a
Hi,

On my dev machine (P4 1.7Ghz Win2K) debugging with Komodo is painfuly
slow. There is a delay of several seconds when stepping over a single
line of code. Debugging the same code with Pythonwin is very quick. Does
anyone else experience slow debugging, and is there anyway to speed it up?
TIA,

Will McGugan
Jul 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Will McGugan <ne**@NOwillmcguganSPAM.com> pisze:
On my dev machine (P4 1.7Ghz Win2K) debugging with Komodo is painfuly
slow. There is a delay of several seconds when stepping over a single
line of code. Debugging the same code with Pythonwin is very quick. Does
anyone else experience slow debugging, and is there anyway to speed it up?


Didn't notice such weirdness, but Komodo is rather RAM-hungry so better
close as many other programs as you can, turn off all IDE features that
you don't need. Oh, and BTW, 512MB RAM is "reasonable minimum"...

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
Jul 18 '05 #2

P: n/a
Are you running the Symantec corporate AV client? I have trouble with
both Python and PHP in Komodo and there's at least one other
unconfirmed reporting of a software conflict with Symantec.

http://bugs.activestate.com/show_bug.cgi?id=27433

On Sat, 23 Oct 2004 18:32:17 +0000 (UTC), Jarek Zgoda
<jz****@gazeta.usun.pl> wrote:
Will McGugan <ne**@NOwillmcguganSPAM.com> pisze:
On my dev machine (P4 1.7Ghz Win2K) debugging with Komodo is painfuly
slow. There is a delay of several seconds when stepping over a single
line of code. Debugging the same code with Pythonwin is very quick. Does
anyone else experience slow debugging, and is there anyway to speed it up?


Didn't notice such weirdness, but Komodo is rather RAM-hungry so better
close as many other programs as you can, turn off all IDE features that
you don't need. Oh, and BTW, 512MB RAM is "reasonable minimum"...

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #3

P: n/a
> On my dev machine (P4 1.7Ghz Win2K) debugging with Komodo is painfuly
slow. There is a delay of several seconds when stepping over a single
line of code. Debugging the same code with Pythonwin is very quick. Does
anyone else experience slow debugging, and is there anyway to speed it up?


Figured it out..

I was testing Komodo 3 with the file 'xmlrpcdemo.py', and once an
instance of xmlrpclib.Server was created and displayed in either Locals
or the Watch tab, it slowed way down. It seems that when Komodo inspects
this object there is network activity as it contacts the http server!
Other scripts dont show this slowdown.
Will McGugan
Jul 18 '05 #4

P: n/a
On Sat, 23 Oct 2004 18:32:17 +0000 (UTC), Jarek Zgoda <jz****@gazeta.usun.pl> wrote:
....
Didn't notice such weirdness, but Komodo is rather RAM-hungry so better
close as many other programs as you can, [...]


Don't know what OS we're talking about, but in all reasonable ones a process
is basically for-free if it doesn't do anything. It will be paged out to
disk in favor of that Komodo thingy.

/Jorgen

--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
Jul 18 '05 #5

P: n/a
Will McGugan wrote:
On my dev machine (P4 1.7Ghz Win2K) debugging with Komodo is painfuly
slow. There is a delay of several seconds when stepping over a single
line of code. Debugging the same code with Pythonwin is very quick.
Does anyone else experience slow debugging, and is there anyway to
speed it up?

Figured it out..

I was testing Komodo 3 with the file 'xmlrpcdemo.py', and once an
instance of xmlrpclib.Server was created and displayed in either Locals
or the Watch tab, it slowed way down. It seems that when Komodo inspects
this object there is network activity as it contacts the http server!
Other scripts dont show this slowdown.


Thanks for tracking that down. Komodo's variable viewer (in the Debug
Output tab) was trying to get information about the "server" object's
attributes. "server" is an xmlrpclib.ServerProxy object. Because of
xmlrpclib.ServerProxy's __getattr__ -- which returns a remote method
callable for each call -- Komodo was unnecessarily resulting in calls to
the server. This will be fixed in the next release so that no remote
calls are made on the "server" object unless the you specifically
request this in the variable view by opening the "server" items tree
view in the "Locals" or "Globals" tabs.

Cheers,
Trent

--
Trent Mick
tr****@activestate.com
Jul 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.