Skip to content
Tcl Source Code History Of Ticket 219236
Login

History Of Ticket 219236

Artifacts Associated With Ticket 219236

  1. Ticket change [74ca5f065c] (rid 105276) by nobody on 2000-10-26 05:03:58:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4729 Bug
      Version: 8.3
      SubmitDate: '2000-03-30'
      LastModified: '2000-04-03'
      Severity: MED
      Status: Assigned
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Solaris
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Yu Zhang
      
      CVS:
      * RCS: @(#) $Id: tclParse.c,v 1.13 1999/11/10 02:51:57 hobbs Exp $
      
      ObservedBehavior:
      I tried to integrate Don Libes tcl-debugger from expect5.31 with Tcl8.3.0 and found that all debugger functionality works except for breakpoint by pattern match. 
      The reason of this problem is: Tcl_EvalEx() passes bytesLeft instead of parse.commandSize as the size of the command just parsed to EvalObjv(). EvalObjv() will call trace functions, including the debugger_trap() function, passing them the command string. Due to the wrong command size, the command string debugger_trap() gets is wrong, causing bogus breakpoints.
      
      
      
      tclParse.c:1393 is the line in question.  The change passes the
      test suites, but maybe only because it only affects C command traces,
      in TclX and Expect.
      
      Looking at the structure of Tcl_Parse, I would think that the
      correct value is actually
          parse.commandStart + parse.commandSize
      because you have to account for possible comments. 
      -- 03/30/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to:
      Tcl_EvalEx() passes the wrong command size to EvalObjv()
      
    11. type initialized to: "Bug"
  2. Ticket change [2a56e02c49] (rid 118545) by dkf on 2000-11-27 18:02:46:

    1. assignee changed to: "dkf"
    2. icomment:
      I'd have thought that parse.commandStart would be passed in instead, so as to skip over leading comments, with the length set to parse.commandSize.  Will implement it that way...
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  3. Ticket change [89a0c58de6] (rid 127262) by dkf on 2000-11-27 18:17:36:

    1. closedate changed to: "2000-11-27T11:17:36"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  4. Ticket change [c473b5af9f] (rid 111851) by hobbs on 2001-07-04 04:02:41:

    1. closedate changed to: "2001-07-03T21:02:41"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Patch is #402564:
      https://sourceforge.net/tracker/index.php?
      func=detail&aid=402564&group_id=10894&atid=310894
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. username: "hobbs"