![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: retrieving line number in case of error - "simple debugger"
From: Nicolas Castagne <castagne@imag.fr>
Date: Fri Sep 30 2005 - 19:00:19 CEST
Hi,
Wojciech Kocjan wrote:
> True. But then again, why not writing (heck, even a pure Tcl) Tcl parser
Mmhh... If TclPro does insert in scripts lines such as:
However, doing this may not be that easy.
1 if 1 {
How to make a difference between
2 puts Hello
and
4 5 6 7
so that "::something::setLine **** " is inserted before line 3, and not
Basically, it is necessary to know if a "new line nested in a command"
Wow ! Things are geting difficult for tcl newcommer like I am ! :)
It seems that the best for me to do is :
By the way, do you know if TclPro really displays 'correct' line numbers ?
Thanks for all your replies I read carefully,
NC
|