[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tracing what is loading
From: |
Juanma Barranquero |
Subject: |
Re: Tracing what is loading |
Date: |
Sun, 7 Dec 2008 09:58:56 +0000 |
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
- Tracing what is loading, Harry Putnam, 2008/12/06
- Re: Tracing what is loading,
Juanma Barranquero <=
- speedbar question, Maindoor, 2008/12/07
- RE: speedbar question, Drew Adams, 2008/12/07
- RE: speedbar question, Maindoor, 2008/12/07
- RE: speedbar question, Drew Adams, 2008/12/07
- RE: speedbar question, Maindoor, 2008/12/08
- Speedbar is messed up, Maindoor, 2008/12/08
- Re: Speedbar is messed up, Maindoor, 2008/12/08
- RE: speedbar question, Maindoor, 2008/12/08
Re: Tracing what is loading, Harry Putnam, 2008/12/07