Re: retrieving line number in case of error - "simple debugger"
- From: Don Porter <dgp@xxxxxxxxxxxxxx>
- Date: 29 Sep 2005 15:57:33 GMT
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 |
|______________________________________________________________________|
.
- Follow-Ups:
- Re: retrieving line number in case of error - "simple debugger"
- From: Nicolas Castagne
- Re: retrieving line number in case of error - "simple debugger"
- From: Nicolas Castagne
- Re: retrieving line number in case of error - "simple debugger"
- References:
- retrieving line number in case of error - "simple debugger"
- From: Nicolas Castagne
- retrieving line number in case of error - "simple debugger"
- Prev by Date: Re: tcl exec ver command
- Next by Date: Re: retrieving line number in case of error - "simple debugger"
- Previous by thread: retrieving line number in case of error - "simple debugger"
- Next by thread: Re: retrieving line number in case of error - "simple debugger"
- Index(es):