views:

352

answers:

2

Where I can find current example of configuration and using Distel with Emacs 23 (on Mac Snow Leaoprd). I have problem with debugging (interpret mode), I cant mark brakepoint.

If anyone have working configuration of distel on emacs 23, please share with me.

+3  A: 

one problem with using the debugger in distel is that I always need to ensure distel is loaded before setting one.

load a file, put io:format("",[]), then press M-. to navigate to io.erl, that makes sure distel is loaded

now make sure the file is intepreted, C-c, C-d, i, the minibuffer will show

now C-SPACE your line, the mark should appear

Dale Harvey
Thx for hint. This should be reported on code.google.com/p/distel ... to find out solution. Maybe some LISP/Emacs-guru can fix this.
Andrzej Śliwa
nope this not work ... I have still "Module is not interpreted, can't set breakpoints". :(
Andrzej Śliwa
A: 

try this steps:

C-c C-d g

Then

C-c C-d i
C-c C-d m
C-x 4 0
C-c C-d m

Or in other order, but you should kill monitor buffer, until get not empty buffer with line like this:

PID          Initial Call          Status    Info

After try mark line for breakpoint

ivann