help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging Emacs LISP functions


From: chaouche yacine
Subject: Re: debugging Emacs LISP functions
Date: Wed, 1 Mar 2017 12:30:31 +0000 (UTC)

Hello Hector,
I'm new to the list and to emacs tweaking in gle. I had the same problem a 
couple days ago. You can't debug those functions because they're in .elc files 
(emace lisp compiled), you need to grab the .el file (the human readable source 
file) somewhere and put it in the same location, that way the developer can 
take you there.
Hope this help.
  -- Yassine.
 

    On Wednesday, March 1, 2017 1:18 PM, hector <hectorlahoz@gmail.com> wrote:
 

 I have a problem with Emacs. Basically it doesn't do what I want it to do :-)
Or put it another way, it doesn't behave as I expect it to behave.

I tried debugging the offending function (dir-locals-find-file)
and then I found another problem.

Perhaps I just don't get acquainted to the LISP typing system.
This function can return a string or a list. Is this good coding style?
But that's another question. Perhaps this mail should go to the
emacs-devel mailing list. I don't know. With free software you just
loose the difference between a "user" and a "developer". Anyway I see
some developers read this list every now and then.

When I try to debug LISP code that is part of Emacs I see with some functions
I get the source code and with others I just get "byte-code". In the latter
case I can't debug it because the debugger just skips the whole function.

How can I know what functions appear as "byte-code" in the debugger?
And how can I debug them?



   

reply via email to

[Prev in Thread] Current Thread [Next in Thread]