Page 1 of 1

Breakpoint for Emacs

Posted: Sat Dec 19, 2009 4:40 pm
by Suroy
Im attempting to learn debugging in emacs. When i receive a frame i want to evaluate some code in a frame by pressing i. However, once i find the function which returns an incorrect result, but does not signal an error, I would like to set a breakpoint in a spot in the code so i can examine frames there. How can i do this?

Thansk!

Re: Breakpoint for Emacs

Posted: Sun Jan 10, 2010 4:17 am
by mrdodge
You can use edebug for this. instrument the function for debugging, set breakpoint on entry and then set a breakpoint where you need. bear in mind that if there are macros in the mix, debugging this way may not be as useful as you think.