This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: OSX: debugger hangs IDLE
Type: behavior Stage: resolved
Components: Tkinter Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, aahz, gpolo, kbk, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2006-06-25 13:45 by aahz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (9)
msg28896 - (view) Author: Aahz (aahz) * (Python triager) Date: 2006-06-25 13:45
This has been previously found on 2.3/2.4 and verified again with 2.5b1
(was hoping that the 1.2 IDLE update would fix):

When you bring up the debugger window in IDLE on OSX, you'll notice that
it's vibrating, as if it's stuck in a resize loop.  Unless you
immediately resize the window manually, IDLE will hang the next time you
try to do something that updates the debugger window.
msg28897 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-06-25 20:49
Logged In: YES 
user_id=580910

And when you do resize the window layout sucks, automatic layout seems to 
be buggy here (although I must admit that I haven't seen IDLE on other 
platforms).

I have no idea what is causing this bug. Upgrading the Tk version to the very 
latest instead of using the system version doesn't help.

I've checked in a workaround in revision 47091. That patch avoids explicitly 
sizing the stackviewer widget on OSX, which seems to fix this problem. The 
debugger window now is rather less wide than it was before, which means 
users will likely have to resize the window if they want to use the debugger.

I'm leaving this bug open and unassign it in the hope that someone who 
actually knows Tkinter proposed a better fix.
msg28898 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2006-07-23 20:47
Logged In: YES 
user_id=149084

Please try running IDLE w/o the subprocess by
starting it with the -n switch.  Does the issue
still exist?
msg28899 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-07-24 06:09
Logged In: YES 
user_id=580910

You'd have to test with a version of python before 2.5b1, after that I've added a 
workaround for this issue. This workaround makes the debugger window 
narrower than intended, but at least you have a working version of IDLE.

My guess is that the root cause of this issue is a bug in TkAqua. I haven't filed a 
bug with them because I have never programmed in Tcl and would therefore 
require lots of time to get a Tcl program going that demonstrates this problem.
msg28900 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2006-07-24 17:23
Logged In: YES 
user_id=149084

Could you revert your fix locally and try running
w/o the subprocess?  If that fixes it you could
blame the rather elaborate communication between
the subprocess and the debugger gui, and it would
be good to check before blaming AquaTk.

If it's still there, maybe you could provide a cutdown
in Tkinter (w/o IDLE) and change the Category to 
Tkinter?
msg28901 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-07-25 20:47
Logged In: YES 
user_id=580910

The vibration problem also occurs if you start idle with 'python idle.py -n'. 

I'm moving this to Tkinter. I'll see if I can extract a small program that shows the 
problem, I'm not exactly a Tkinter expert. I'm also unassigning this bug, there's 
little change that I'm going to fix this.
msg114672 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-08-22 10:58
Is this still an issue with later versions of Python and/or OSX?
msg190650 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2013-06-05 10:29
The problem appears to be gone in current releases (at least on OSX 10.8 with Tk 8.5) and I therefore propose to close the issue.
msg190685 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-06-05 18:36
Undoubtedly, it was a bug in an earlier version of Aqua Tk; it doesn't appear to occur with current Tk's.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43549
2013-06-05 18:36:40ned.deilysetstatus: open -> closed
resolution: accepted -> out of date
messages: + msg190685

stage: test needed -> resolved
2013-06-05 10:29:17ronaldoussorensetnosy: + ned.deily
messages: + msg190650
2010-08-22 10:58:42BreamoreBoysetnosy: + BreamoreBoy
messages: + msg114672
2009-04-26 22:21:54ajaksu2setnosy: + gpolo
2009-03-30 06:33:08ajaksu2setstage: test needed
type: behavior
versions: + Python 2.6, - Python 2.5
2006-06-25 13:45:10aahzcreate