#2904 CallVarTraces: save/restore interp state

obsolete: 8.4.7
closed-fixed
5
2004-09-30
2004-09-30
Don Porter
No

This test demos the problem.

test var-16.1 {CallVarTraces: save/restore interp error
state} {
trace add variable errorCode write { ;#}
catch {error foo bar baz}
trace remove variable errorCode write { ;#}
set errorInfo
} bar

Attached patch includes the test and
the bug fix.

Discussion

  • Don Porter

    Don Porter - 2004-09-30
     
  • Don Porter

    Don Porter - 2004-09-30

    Logged In: YES
    user_id=80530

    fix committed to core-8-4-branch

     
  • Don Porter

    Don Porter - 2004-09-30
    • assigned_to: msofer --> dgp
    • status: open --> open-fixed
     
  • Don Porter

    Don Porter - 2004-09-30

    Logged In: YES
    user_id=80530

    corresponding patch
    (in tclTrace.c) committed
    to HEAD.

     
  • Don Porter

    Don Porter - 2004-09-30
    • status: open-fixed --> closed-fixed
     
  • Don Porter

    Don Porter - 2004-10-05

    Logged In: YES
    user_id=80530

    Note that fixing this bug
    allows the ERR_IN_PROGRESS
    "hack" in Tcl_PopCallFrame
    to be removed. It was a workaround
    for this bug.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks