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


Groups > comp.lang.python > #40665 > unrolled thread

debugging with idle

Started byDirk Zabel <dzabel@snafu.de>
First post2013-03-06 23:30 +0100
Last post2013-03-06 19:17 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#40665 — debugging with idle

FromDirk Zabel <dzabel@snafu.de>
Date2013-03-06 23:30 +0100
Subjectdebugging with idle
Message-ID<appucqFiaghU1@mid.uni-berlin.de>
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.
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.
Any help is welcome.
Regards
   Dirk

[toc] | [next] | [standalone]


#40676

FromTerry Reedy <tjreedy@udel.edu>
Date2013-03-06 19:17 -0500
Message-ID<mailman.2966.1362615445.2939.python-list@python.org>
In reply to#40665
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web