Path: g2news2.google.com!postnews.google.com!v19g2000yqa.googlegroups.com!not-for-mail From: Elena Newsgroups: gnu.emacs.help Subject: List of all functions (recursively) called by a function? Date: Mon, 29 Nov 2010 14:28:09 -0800 (PST) Organization: http://groups.google.com Lines: 17 Message-ID: NNTP-Posting-Host: 94.36.129.174 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1291069689 18011 127.0.0.1 (29 Nov 2010 22:28:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 29 Nov 2010 22:28:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v19g2000yqa.googlegroups.com; posting-host=94.36.129.174; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010102906 Iceweasel/3.0.6 (Debian-3.0.6-3),gzip(gfe) Hello, is there a way to get the list of all functions (recursively) called by a function? Once a while, my Emacs hangs. It usually happens when interacting with the file-system. I've tried isolating the function which causes the hang, by means of `keyboard-quit' after having set `debug-on- error' to true, but without success, since `keyboard-quit' does not break the hang. Therefore, I've been thinking about running a profiler on functions during which the hang happens. One of these functions is `ido-find-file'. The profiling package "elp" has correctly identified this function as spending a lot of time. Now, I'd like to profile all functions called by `ido-find-file' to catch the misbehaving one. Any pointers? Thanks.