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!
Breakpoint for Emacs
Re: Breakpoint for Emacs
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.