473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Slow debugging with Komodo

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
5 2089
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
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
> 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pete Jereb | last post by:
I am really stuck here. I would love to use an IDE to debug my programs, but they are all set to accept input from stdin, ie python rdip.py < scriptfile.txt I can't figure out how to do...
6
by: Doug Farrell | last post by:
Hi all, Can someone help me out a little with Python? What do people use to debug Python code? I don't understand how to use the built in debugger and I haven't had any luck getting ddd to debug...
2
by: Thomas Lindgaard | last post by:
Hello I have a multi-threaded web spider and it has a problem (probably several). Is there a way to make the debugger show me what my worker threads are doing? I can only get it to follow the...
2
by: fortepianissimo | last post by:
This is a question to all of you who use Komodo IDE for development: when I tried to debug my script which uses __file__ to get the absolute path to the file, Komodo complained that the variable is...
3
by: michael | last post by:
Hi, I am trying to write an ASP.NET web app, in Visual Basic.NET, using Visual Studio.NET 2004, .NET framework 1.1.4322 SP1 Running the project/app on localhost while in dev/write/debug stage ...
6
by: Matt Trivisonno | last post by:
Hi Everybody, If I were to use Komodo to write in Python, would it add a lot of goo to my code such that I would not be able to switch to another IDE without having to claw my way out of a...
1
by: worlman385 | last post by:
anyway I can setup and debug nokia s60 python in komodo ( a python IDE )? thanks
1
by: Scubadude | last post by:
I am looking for some assistance in 'fine-tuning' my preferences as I set-up my system to learn PHP. I am running Komodo professional, version 3.5.3, build 262321, platform win32-x86. Under...
5
by: John Henry | last post by:
I am back against the wall trying to migrate my multithreaded application from Python 2.3 to 2.5. The part of the code that's failing has to do with queues (2.3 queues and 2.5 queues are not the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.