Re: edb bug?

Luke Gorrie <[email protected]> 16 Dec 2003 12:40:29 +0100
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Howdy Mats!

>    i have an small but annoying problem with edb. if i try to
>    interpret a module, and the connect between emacs and erlang
>    fails, i am not allowed to set breakpoints ever.

The problem is that Emacs doesn't know the module is interpreted. The
workaround is to do `C-c C-d m' after you connect -- that initializes
EDB, including asking Erlang for the set of interpreted modules to
update `edb-interpreted-modules'. Alternatively, you could C-cC-di
twice to reinterpret it.

I'm not sure what the right fix is right now. If we just fired up the
EDB monitor immediately on connecting, it could have the side-effect
of starting unwanted processes in the Erlang node (e.g. the debugger).

I wonder if there's a better way of checking if the debugger is
running than 'whereis(dbg_iserver) /= undefined'?

-Luke



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click