Re: [Fwd: empty edbproc buffer]

Bill Clementson <[email protected]> Fri, 07 Sep 2007 10:15:19 -0700
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Hi Mats,

mats cronqvist <[email protected]> writes:

>   i just ran into the problem described by some guy named vish on
> erlang-questions;
>
> "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 "

I replied to Vishnu on the erlang-questions list; however, he sent his
replies to me via email. In short, this is what I asked him to try and
what he replied:

1. Since he was using Aquamacs Emacs, I initially thought it was a
problem related to Aquamacs (which, by default, pops up a new frame
for every buffer). I told him how to disable this; however, he
continued to get the same distel problem.

2. I asked him if he had his source files in a different location from
the .beam files. Distel looks in certain standard places; however, I
thought there might be a problem with either old .beam files or
source/beam files not being in sync or source/beam not being in
standard locations. I didn't hear back from him after this, so I don't
know whether that was the problem or not. So, for the erlang file that
you are debugging, was it recently compiled and is it in either the
same directory as the source or in the standard ebin/src directories?

>   i see the same thing, but seemingly only on my solaris/emacs22
> machine.
>   could there be a problem with emacs22? 

I'm using emacs22 and I don't have any problems. I'll send Vishnu an
email and see whether he found out what his problem was.

- Bill


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/