[erlang-questions] Emacs: Debugger buffer not showing program output

Bill Clementson <>
Mon Sep 3 18:43:17 CEST 2007


Hi Vishnu,

"Vishnu Gopal" <> writes:

> Anybody?
>
> Vish
>
> On 9/2/07, Vishnu Gopal <> wrote:
>> Hi!
>>
>> I'm trying to learn both Emacs and erlang (newbie to both so please be
>> gentle). I installed Distel fine and managed to connect to an erlang
>> node. Was trying out debugging when I noticed something odd.
>>
>> I start a debug session with C-c C-d i and set a breakpoint C-x SPC.
>> And when I run the function in the shell, the debug process list
>> window pops up. I type return on the correct process and a debugger
>> buffer pops up. As far as I understand it to work, it should show the
>> program in a read-only buffer: with the state of execution &
>> breakpoints, and with variables at the bottom of the window. However I
>> get a blank buffer: all the commands (n, SPC, q, h, etc.) seem to work
>> fine though. I'm not sure if it's because I misunderstood how it's
>> supposed to work, so here's a screenshot:
>>
>> http://vish.in/temp/emacs-debug.png
>>
>> Shouldn't it look something like this:
>> http://bc.tech.coop/blog/images/distel2.jpg ?
>>
>> (I'm using Aquamacs btw, not sure if that makes a difference).
>>
>> It'd be great if somebody could help.

Hmm, that's odd. From the screenshot, I see that you appear to be
using Aquamacs's default one-buffer-one-frame setup. Try evaluating
the following and re-trying:

(setq smart-frame-positioning-mode nil
      one-buffer-one-frame-mode nil
      aquamacs-styles-mode nil)

(You might need to put it in your .emacs file and restart Aquamacs)

- Bill




More information about the erlang-questions mailing list