unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Debugging lisp during startup
@ 2008-02-07  9:33 Chris Hall
  2008-02-07 15:25 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Hall @ 2008-02-07  9:33 UTC (permalink / raw)
  To: emacs-devel

I'm sure this a FAQ -- can someone point me to information on how to
debug elisp during the Emacs startup process?

I'm trying to debug Emacs.app for GNUstep, and it looks like there is
a problem in the windowing system initialization process.  The menu
displays, but no main window, and the window won't do anything.

I've tried starting emacs -nw, then (debug-on-entry
'make-frame-on-display), but I only get so far before it just hangs on
me.

Thanks,

Chris Hall





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

* Re: Debugging lisp during startup
  2008-02-07  9:33 Debugging lisp during startup Chris Hall
@ 2008-02-07 15:25 ` Stefan Monnier
  2008-02-09  3:48   ` Chris Hall
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-02-07 15:25 UTC (permalink / raw)
  To: Chris Hall; +Cc: emacs-devel

> I'm sure this a FAQ -- can someone point me to information on how to
> debug elisp during the Emacs startup process?

> I'm trying to debug Emacs.app for GNUstep, and it looks like there is
> a problem in the windowing system initialization process.  The menu
> displays, but no main window, and the window won't do anything.

> I've tried starting emacs -nw, then (debug-on-entry
> 'make-frame-on-display), but I only get so far before it just hangs on
> me.

You're probably better off debugging it at the C level.


        Stefan





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

* Re: Debugging lisp during startup
  2008-02-07 15:25 ` Stefan Monnier
@ 2008-02-09  3:48   ` Chris Hall
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Hall @ 2008-02-09  3:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

On 2008-02-07 05:25:25 -1000 Stefan Monnier <monnier@iro.umontreal.ca> 
wrote:

>> I've tried starting emacs -nw, then (debug-on-entry
>> 'make-frame-on-display), but I only get so far before it just hangs 
>> on
>> me.
> 
> You're probably better off debugging it at the C level.
> 

Ouch.

Are there some tips available somewhere, or it basically a matter of 
setting a breakpoint in 'Feval' (or similar) then laboriously 
examining whatever is on the stack?

Thanks,

Chris H.






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

end of thread, other threads:[~2008-02-09  3:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-07  9:33 Debugging lisp during startup Chris Hall
2008-02-07 15:25 ` Stefan Monnier
2008-02-09  3:48   ` Chris Hall

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

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).