Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 753c88bd0f7c60caebc0c1309f9bbc078f51fe41
Ticket: 8f559999fa000614504de7a7eefbc99dc7beea2b
background error swallowed with command delete trace on a coroutine
User & Date: sebres on 2017-06-22 20:00:20
Changes

  1. icomment:
    Please note that bgerror is an idle-event (with newest generation-value).
    It comparable with (after idle bgerror ...).
    In this case, it will be definitelly executed in the next event-cycle.
    But the trace will be executed still inside the same cycle (within processing of the last event).
    
    To do it in other order:
    - rather don't use bgerror handling.
    - or rewrite your trace also using "after idle".
    
    So works as expected, thus I'll recommend to close the ticket.
    
  2. login: "sebres"
  3. mimetype: "text/plain"