Re: edb bug?

mats cronqvist <[email protected]> Tue, 16 Dec 2003 14:35:31 +0100
Newsgroups gmane.comp.lang.erlang.distel.devel
Organization eth/rud
Message-ID <[email protected]>
   luke,

   well, problem is once the connect has failed i can't ever update 
`edb-interpreted-modules'.
no matter how many times i do C-c C-d m and/or C-c C-d i. i have to 
restart emacs. and having
to stop emacs is not really a SMALL problem, now is it? horror...
   interestingly enough, once i have connected, C-c C-d i does toggle the 
interpretion (as
reported by int:interpreted/0), but edb-interpreted-modules remains nil.

   mats

> 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
> _______________________________________________
> Distel-hackers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/distel-hackers



-- 
===