Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40676

Re: debugging with idle

From Terry Reedy <tjreedy@udel.edu>
Subject Re: debugging with idle
Date 2013-03-06 19:17 -0500
References <appucqFiaghU1@mid.uni-berlin.de>
Newsgroups comp.lang.python
Message-ID <mailman.2966.1362615445.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 3/6/2013 5:30 PM, Dirk Zabel wrote:
> Hi,
> I am trying to debug a script using the idle debug control. I want to
> see the current source line which is executed, so I select the "Source"
> checkbox. If I step through the program, the editor window with the
> source is popping up, but the current source line is not marked. Only If
> I activate the source window by clicking on the window top, the marker
> appears. This I have to repeat for every step: click on "step" button,
> click on source window, click on "step" button, click on source window
> ... very boring.
> The problem occurs with python 3.3 on Windows XP SP3 as well as on
> Windows 7 X64, SP1.

I use IDLE and work on IDLE issues, but have never used the debug window 
before. It looks useful -- and its operation should be documented. I 
believe I duplicated your report with 3.3 on win 7.

> Running python 3.2 on Ubuntu 12.4 LTE the problem does not come up. Here
> the currently executed line stays marked regardless whether the source
> window is active or not.

You changed both python version and os. Which change made the 
difference? I believe I duplicated your problem also with 3.2 on win 7, 
so perhaps it is the OS. If you possibly can, load 3.3 on Ubuntu and see 
if you still get the correct behavior. Then open an issue on the 
tracker. bugs.python.org.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

debugging with idle Dirk Zabel <dzabel@snafu.de> - 2013-03-06 23:30 +0100
  Re: debugging with idle Terry Reedy <tjreedy@udel.edu> - 2013-03-06 19:17 -0500

csiph-web