debugger bug?
Serge Aleynikov
serge@REDACTED
Wed Oct 20 16:35:18 CEST 2004
I am not sure if this is a known issue, but the debugger application in
v5.4 R10B-0 release doesn't seem to understand the new try/catch/after
clause. If you start the debugger, and try to interpret attached
"parse.erl" file it fails with an error, yet, "parse_ok.erl" is being
interpreted normally:
~/tmp>erl
Erlang (BEAM) emulator version 5.4 [source] [hipe]
Eshell V5.4 (abort with ^G)
1> os:type().
{unix,linux}
2> c(parse, [debug_info]).
{ok,parse}
3> debugger:start().
{ok,<0.39.0>}
{'try',7,
[{call,8,{atom,8,process},[{var,8,'F'}]}],
[],
[],
[{call,10,{remote,10,{atom,10,file},{atom,10,close}},[{var,10,'F'}]}]}
4>
=ERROR REPORT==== 20-Oct-2004::10:31:23 ===
** Generic server dbg_iserver terminating
** Last message in was {load,parse,
"/home/serge/tmp/parse.erl",
<<131,104,5,100,...>>}
** When Server state == {state,21,[],[],false,all,[<0.39.0>]}
** Reason for termination ==
** {{badmatch,{dbg_iload,{unknown_expr,
{'try',7,
[{call,8,{atom,8,process},[{var,8,'F'}]}],
[],
[],
[{call,
10,
{remote,
10,
{atom,10,file},
{atom,10,close}},
[{var,10,'F'}]}]}}}},
[{dbg_iserver,handle_call,3},
{gen_server,handle_msg,6},
{proc_lib,init_p,5}]}
4> c(parse_ok, [debug_info]).
{ok,parse_ok}
5>
---
Regards,
Serge
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parse.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041020/48145d03/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: parse_ok.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041020/48145d03/attachment-0001.ksh>
More information about the erlang-questions
mailing list