Re: Need a reliable way to determine the line of code being executed
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Need a reliable way to determine the line of code being executed

From: Donald Arseneau <asnd@triumf.ca>
Date: Wed Mar 01 2006 - 07:16:03 CET

Mark Wege <mwege@csc.R_E_M_O_V_E.com> writes:

> I was wondering if anyone knows of a reliable method of obtaining the line of
> code being executed; specifically, I want to see how a proc was called from
> within that proc.

See the recent thread "Question about TIP #86", and look at those
Proposals for Tcl Improvement. (Given the line number, and
[info script] I suspect you could re-read the source line.)

-- 
Donald Arseneau                          asnd@triumf.ca
Received on Sun Apr 30 02:18:20 2006