From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Harry Putnam" <reader@newsguy.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tracing what is loading
Date: Sun, 7 Dec 2008 09:58:56 +0000 [thread overview]
Message-ID: <f7ccd24b0812070158w3eedc0a5k3a31bdc61a0c76ae@mail.gmail.com> (raw)
In-Reply-To: <873ah0ombf.fsf@newsguy.com>
On Sun, Dec 7, 2008 at 00:34, Harry Putnam <reader@newsguy.com> wrote:
> ;;[Tip from Kai G] make loaded files give a message
> (defadvice load (before debug-log activate)
> (message "Now loading: %s" (locate-library (ad-get-arg 0))))
>
> That will tell exactly what is loading and in what order.
That will skip calls to Fload from C code (defadvice does not work for
calls from C).
> Maybe there is a better or hopefully simpler way like possibly
> compiling something directly into the binary when it is compiled.
Not necessarily simpler. If you want to do that on a permanent basis,
you can add code to Fload to show a message. If it is just once for
some debugging, you can use the trace facilities of GDB.
Juanma
next prev parent reply other threads:[~2008-12-07 9:58 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 0:34 Tracing what is loading Harry Putnam
2008-12-07 9:58 ` Juanma Barranquero [this message]
2008-12-07 11:22 ` speedbar question Maindoor
2008-12-07 15:21 ` Drew Adams
2008-12-07 15:34 ` Maindoor
2008-12-07 17:10 ` Drew Adams
2008-12-08 5:42 ` Maindoor
2008-12-08 7:06 ` Speedbar is messed up Maindoor
2008-12-08 7:11 ` Maindoor
2008-12-08 5:46 ` speedbar question Maindoor
2008-12-07 23:09 ` Tracing what is loading Harry Putnam
2008-12-08 0:41 ` Juanma Barranquero
2008-12-08 4:46 ` Harry Putnam
[not found] <mailman.2095.1228610078.26697.help-gnu-emacs@gnu.org>
2008-12-07 10:01 ` Dmitry Dzhus
2008-12-07 13:10 ` Michael Heerdegen
2008-12-08 4:54 ` Harry Putnam
[not found] ` <mailman.2193.1228712089.26697.help-gnu-emacs@gnu.org>
2008-12-08 18:21 ` Michael Heerdegen
2008-12-08 20:09 ` Harry Putnam
2008-12-09 6:30 ` Harry Putnam
2008-12-10 2:56 ` Kevin Rodgers
2008-12-10 8:47 ` Harry Putnam
[not found] ` <mailman.2437.1228898847.26697.help-gnu-emacs@gnu.org>
2008-12-10 19:14 ` Michael Heerdegen
2008-12-11 1:46 ` Harry Putnam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0812070158w3eedc0a5k3a31bdc61a0c76ae@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=reader@newsguy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.