crash node with debugger
Bjorn Gustavsson
bjorn@REDACTED
Mon Jun 3 16:58:33 CEST 2002
Here is a patch that solves the problem.
/Bjorn
*** /clearcase/otp/erts/lib/debugger/src/int.erl@@/main/release/r9_dev/7 Fri Feb 22 15:35:41 2002
--- /clearcase/otp/erts/lib/debugger/src/int.erl@@/main/release/r9_dev/8 Mon Jun 3 16:56:07 2002
***************
*** 498,503 ****
--- 498,504 ----
everywhere(Dist,
fun() ->
code:purge(Mod),
+ erts_debug:breakpoint({Mod,'_','_'}, false),
{module,Mod} = code:load_abs(filename:rootname(Beam))
end),
{ok, SrcBin} = file:read_file(Src),
Luke Gorrie <luke@REDACTED> writes:
> Bug report:
>
> $ erl
> Erlang (BEAM) emulator version 5.1.1 [source] [hipe]
>
> Eshell V5.1.1 (abort with ^G)
> 1> ii(test).
> {module,test}
> 2> ii(test).
> The code server called the unloaded module `dbg_debugged'
>
> .. then the emulator exits.
>
> (Not specific to the 'test' module)
>
> Any ideas?
>
> Cheers,
> Luke
>
--
Björn Gustavsson Ericsson Utvecklings AB
bjorn@REDACTED ÄT2/UAB/F/P
BOX 1505
+46 8 727 56 87 125 25 Älvsjö
More information about the erlang-questions
mailing list