[Idle-dev] Hide code? / Breakpoints with IDLE?

Stephen M. Gava elguavas@users.sourceforge.net
Wed, 7 Nov 2001 16:06:06 +1100


James P Gray wrote:
> Under Idle 0.8 (that shipped with Python 2.1) & Windows 2000.  I was able
> to set break points and they work (ie stop the program at the given line
> of code).  The same option is available in Idlefork (version 0.8.1).  The
> option is there, but I don't think it does anything (in Idlefork) since
> the color of the line does not change.

Yes, the debugging features work properly in stable (python) idle.  But in 
idlefork they were knocked out by the previous "separate process execution" 
implementation.  You should be using stable (python) idle if you want a 
stable, all working, version of idle.  IDLEfork is development software whose 
stabilty in cvs changes from day to day. The 0.8.1 release of idlefork was 
clearly marked as "alpha" quality and not 100% working properly, for 
interested developers only.

> In either version if you right click on a line of source code a menu
> appears with the single option "Set breakpoint here".  I imagine this
> must be similar to the Linux functionality.

Yep, idle and idlefork functions just like the windows version on all the 
other platforms it runs on, including linux.

> I'm not sure what is required to get the debugger working again (why else
> have breakpoints).  I imagine it will be a considerable amount of work.
> So I guess the question is where to start?

Getting debugging working again is happeninng as part of moving to the new, 
more general, and simpler, separate process execution implementation, coded 
by Guido, thanks to Chui Tey kindly offering some time to work on this.  I do 
not  intend there to be another idlefork release until this and the new 
config stuff are in place and working enough for some more widepsread testing 
to be useful.  

Was your "where to start?" rhetorical or are you able to offer some time to 
the project ?  I don't mind either way, but if yuo were intending to pitch in 
please contact me about it!

Stephen.
-- 
Stephen M. Gava  <elguavas@users.sourceforge.net>
IDLEfork ( http://idlefork.sourceforge.net )  " just like IDLE, only crunchy "