473,734 Members | 2,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2109
Will McGugan <ne**@NOwillmcg uganSPAM.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**@NOwillmcg uganSPAM.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.Serve r 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.Serve r 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.Serve rProxy object. Because of
xmlrpclib.Serve rProxy'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****@activest ate.com
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2098
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 this in PythonWin, IDLE, or Komodo. Help! I've been poring through manuals and google for hours trying to figure this out.
6
1493
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 my Python programs. I end up falling back on inserting print statements in my code to figure out what's going on. This works but isn't always the fastest route to a solution. So, I'm just wondering what other people do. Thanks,
2
1945
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 main thread. I'm using Komodo Personal (trial). -- Regards /Thomas
2
2742
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 not defined. Anyway to work around this? (without changing the code) Or if I need to change the code, how do I achieve the same thing I wanted? Thanks in advance!
3
1963
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 When I say "trying", I do have it written, and it works ... sort of, for some cases. The problems/issues?
6
1532
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 tarpit first? Any other thoughts on Komodo? I am considering it because I am hoping to find a solution to the install-packages-until-you-go-blind aspect of Python. Setting up a serious, cross-platform, gui development environment is quite a struggle...
1
1604
by: worlman385 | last post by:
anyway I can setup and debug nokia s60 python in komodo ( a python IDE )? thanks
1
2405
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 Preferences/Language/PHP in debugger configuration, I am getting the following error message: WARNING! PHP is not configured for debugging. You can use the configuration wizard to configure PHP for debugging.
5
6393
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 same). Since WingIDE doesn't support multithread debugging (they've been saying that one day they might support that - and that was 2003), I am starting to look for alternatives. debug under Eclipse/Pydev. I did a google search of this...
0
8776
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.