ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activepython
activepython
Visual Python's speed slow while debugging OpenGL program
by Chris other posts by this author
Jul 19 2004 9:31PM messages near this date
view in the new Beta List Site
Using Tix "Out of the Box" with active python 2.3.2 | test
Hello,
    I am running Win XP,(using Visual Python, with ActiveState Python)
writing a Python program that runs a C++ back-end using openGL..(This may
not be significant to my question, but I thought I'd mention it). Anyway,
The problem is if I set a breakpoint anywhere in Visual Python, the code
grinds to a very slow pace. I don't understand why, since Python is
interpretive and there shouldn't be much overhead to check for a breakpoint.
Also, if I have a breakpoint enabled, there is a 20 second pause from
whenever I close the application normally to whenever control is returned to
Visual Studio.

1) What gives with the slowdown issue ? Perhaps my understanding of how
Python deals with breakpoints is faulty..

2) Where can I find more info about debugging fairly complex programs
effectively in Python ? Is it better to use pdb ? How is this generally done
? Do all Python IDEs suffer from the same responsiveness problems that
Visual Studio has ? (for example I cannot break into a running program)

Thanks,
Chris
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Chris
Eric Promislow

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved