all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Look for strace/ltrace analog for elisp.
@ 2012-05-13 10:51 Oleksandr Gavenko
  0 siblings, 0 replies; 2+ messages in thread
From: Oleksandr Gavenko @ 2012-05-13 10:51 UTC (permalink / raw)
  To: help-gnu-emacs

In order to understand how work foreign code tracing is the best technique.

Like this do strace/ltrace.

I expect ability to call something like::

  (trace BODY)

and get output like::

  { foo
  *{ bar
  **{ concat
  **} concat: result: "XXX"
  **{ +
  **} +: result: 20
  *} bar: result: 20
  } foo: result: 20

where tracer print all called functions until BODY execution was finished.

It is convenient to have ability customise output details (like enabling or
skipping input args/return value, skipping call to some functions).

But for my purpose it is important to see names of setq, defun,
declare-function, defvar, etc... because I want to debug loading of elisp
library.

I try use edebug-trace-mode but seems this is not that I look.

-- 
Best regards!




^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <mailman.1062.1336906313.855.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2012-05-13 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-13 10:51 Look for strace/ltrace analog for elisp Oleksandr Gavenko
     [not found] <mailman.1062.1336906313.855.help-gnu-emacs@gnu.org>
2012-05-13 14:34 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.