Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8a681adf77fdd04e48bd30d79d7a9962f74bd9bd
Ticket: 652765ffffffffffffffffffffffffffffffffff
errors disappear in trace callbacks
User & Date: vincentdarley on 2004-08-25 16:29:24
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Will,
    
    If your purpose is just to discover programming errors, then
    that's one thing (which could also be handled by dgp's
    suggestion of calling bgerror with the problem -- in fact
    calling bgerror might be better, because the programmer
    would not be tempted to use 'catch' to hide the problem).
    
    However, earlier you gave an example of using a trace in
    tcllib to prevent renaming of an structure. That's certainly
    not just to discover programming errors. It's to use the
    error to signal a certain condition, which a programmer
    might wish to catch and workaround.
    
    So which of these two is it?
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"