|
From: <no...@so...> - 2000-11-15 10:02:10
|
Bug #119218, was updated on 2000-Oct-25 22:03
Here is a current snapshot of the bug.
Project: Tk Toolkit
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 7
Summary: error handling with bgerror in Tk
Details: OriginalBugID: 3998 Bug
Version: 8.2.3
SubmitDate: '2000-01-10'
LastModified: '2000-01-23'
Severity: MED
Status: Assigned
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 2577 2136 750
OS: All
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
Torsten Rottmann
ReproducibleScript:
wish
% after 1 dfdf
after#0
% bgerror failed to handle background error.
Original error: invalid command name "dfdf"
Error in bgerror: invoked "break" outside of a loop
ObservedBehavior:
If you press "Skip Messages" ( the "return -code break" behaviour) former version of Tcl
didn't complain about "break outside a loop"
DesiredBehavior:
Same as in Tcl8.0: nothing
This behavior seems to have changed between 8.0.4 and 8.1.
-- 01/23/2000 hobbs
Follow-Ups:
Date: 2000-Nov-15 02:02
By: dkf
Comment:
Still there in 8.3.2 in wish, but *not* tclsh of the same vintage with the following script:
proc bgerror {msg} {puts "BGERROR: $msg"; return -code break}
after 1 notacommand
vwait forever
Something bizarre is going on here; moving this bug to Tk...
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=119218&group_id=12997
|