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 >> visualpython-discuss
visualpython-discuss
Re: [Visualpython-discuss] Visual Python's speed slow while debugging OpenGL program
by Eric Promislow other posts by this author
Jul 19 2004 11:43PM messages near this date
view in the new Beta List Site
[Visualpython-discuss] Visual Python's speed slow while debugging OpenGL program | [Visualpython-discuss] Two issues with Visual Python
Hi, Chris,

You currently can't break into running Python programs with
Visual Python -- you need to set the breakpoints first.

However, you shouldn't be observing such a slowdown when you
do set breakpoints.  Would you be able to send in a testcase?

- Eric

On Mon, Jul 19, 2004 at 04:31:14PM -0500, Chris wrote:
>  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
>  
>  
>  _______________________________________________
>  Visualpython-discuss mailing list
>  Visualpython-discuss@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Chris
Eric Promislow

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved