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


Groups > comp.lang.python > #40676

Re: debugging with idle

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'debug': 0.05; 'executed': 0.07; 'python': 0.09; 'before.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'appears.': 0.16; 'executed,': 0.16; 'marker': 0.16; 'popping': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'sp3': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'windows': 0.19; 'load': 0.19; 'trying': 0.21; 'regardless': 0.21; '3.2': 0.22; 'button,': 0.22; 'occurs': 0.22; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'select': 0.26; 'possibly': 0.27; 'correct': 0.28; 'header:X-Complaints-To:1': 0.28; 'behavior.': 0.29; 'source': 0.29; 'window': 0.30; 'up.': 0.31; 'not.': 0.32; 'running': 0.32; 'idle': 0.33; 'ubuntu': 0.33; 'problem': 0.33; 'to:addr:python- list': 0.33; 'hi,': 0.33; 'version': 0.34; 'changed': 0.34; 'program,': 0.34; 'open': 0.35; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'useful': 0.36; 'subject:with': 0.36; 'should': 0.36; 'editor': 0.37; 'does': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'step': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'repeat': 0.62; 'here': 0.65; 'believe': 0.69; 'clicking': 0.75; 'click': 0.76; '12.4': 0.84; 'received:fios.verizon.net': 0.84; 'window,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: debugging with idle
Date Wed, 06 Mar 2013 19:17:04 -0500
References <appucqFiaghU1@mid.uni-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
In-Reply-To <appucqFiaghU1@mid.uni-berlin.de>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2966.1362615445.2939.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1362615445 news.xs4all.nl 6893 [2001:888:2000:d::a6]:33573
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:40676

Show key headers only | 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