zsh-workers
 help / color / mirror / code / Atom feed
* Getting source file and line number of a function.
@ 2008-07-27  1:06 Rocky Bernstein
  2008-07-28  8:34 ` Peter Stephenson
  0 siblings, 1 reply; 13+ messages in thread
From: Rocky Bernstein @ 2008-07-27  1:06 UTC (permalink / raw)
  To: zsh-workers

I see that zsh has now has array variables functrace and
funcstack. Functrace stack gives a function name and a line offset
from the function. But for many things involving location reporting,
it would more be desirable to have a filename and absolute line
location.

Alternatively, if there were a way to get the filename and line number
of the beginning of a given function, one can do some arithmetic to
get the absolute position.

Is there currently a way to get this information. Should I try at
submitting a patch?


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-08-13 20:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-27  1:06 Getting source file and line number of a function Rocky Bernstein
2008-07-28  8:34 ` Peter Stephenson
2008-07-28 12:46   ` Rocky Bernstein
2008-07-30  2:31     ` Rocky Bernstein
2008-07-30  8:22       ` Peter Stephenson
2008-08-09 18:21     ` Peter Stephenson
2008-08-10  1:11       ` Rocky Bernstein
2008-08-11 19:32         ` Peter Stephenson
2008-08-11 19:39           ` Rocky Bernstein
2008-08-11 19:51             ` Peter Stephenson
2008-08-11 20:01               ` Rocky Bernstein
2008-08-11 14:00       ` Richard Hartmann
2008-08-13 20:51         ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).