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
|