Re: retrieving line number in case of error - "simple debugger"



Nicolas Castagne wrote:
> My two question are :
> 1/ Given a script, how can I retrieve the exact line on which the error
> occured ?
> 2/ Do you know a nice HOWTO or code sample for building basic debug
> features ?

I started to answer, then discovered the details later in your
article that you know all the answers I was about to give.

Please copy that example into the Tcl Feature Request Tracker
where I can more carefully look into it over time. The details
involve enough time and effort that articles here will expire.

I suspect this is a limitation of the bytecode compiler, but
possibly something we can improve.

--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.