Artifacts Associated With Ticket 219236
Ticket change [74ca5f065c] (rid 105276) by nobody on 2000-10-26 05:03:58:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to:
Tcl_EvalEx() passes the wrong command size to EvalObjv()
- type initialized to: "Bug"
Ticket change [2a56e02c49] (rid 118545) by dkf on 2000-11-27 18:02:46:
- assignee changed to: "dkf"
- 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...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [89a0c58de6] (rid 127262) by dkf on 2000-11-27 18:17:36:
- closedate changed to: "2000-11-27T11:17:36"
- closer changed to: "dkf"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [c473b5af9f] (rid 111851) by hobbs on 2001-07-04 04:02:41:
- closedate changed to: "2001-07-03T21:02:41"
- closer changed to: "hobbs"
- 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
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"