Tcl Source Code

View Ticket
Login
Ticket UUID: 462594
Title: error in debugging code
Type: Bug Created on: 2001-09-18 16:43:55
Submitter: msofer Assigned to: hobbs
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2001-09-20 00:58:03
Status: Closed Closed by: hobbs
Resolution: Fixed Closed on: 2001-09-19 17:58:03
Version: None
Description:
In generic/tclExecute.c lines 1055ff we find the
debugging code 
    TRACE_WITH_OBJ((...), valuePtr);

This is part of the code of INST_EVAL_STK, which does
*not* use valuePtr. The error message will therefore
contain a "random" object.

I would submit that TRACE is what is needed, and not
TRACE_WITH_OBJ - in parallel to what is done at
INST_INVOKE.
User Comments:
hobbs added on 2001-09-20 00:49:37:
Logged In: YES 
user_id=72656

There are two of these, in the LOOP_EXCEPTION_RANGE and 
CATCH_EXCEPTION_RANGE switch cases.  I assume these are 
what is being referred to.  Yes, it appears they should be 
corrected.

hobbs added on 2001-09-20 00:58:03:
Logged In: YES 
user_id=72656

fixed in 8.4a4cvs head.