Error with debuger and fun's in Erlang R10B-8
Thu Dec 1 15:03:08 CET 2005
Thanks, the bug is now fixed. The new version of Debugger will be part
of R10B-9, probably to be released in December.
Jakob Skipper wrote:
> % This code fails in Erlang R10B8 when debugger is running.
> % Do the following:
> % * Compile this module
> % * Run "debugger_fun:test()", output is [yes,no,no,no]
> % * Start the debugger "debugger:start" and interpret this module; no
> breakpoints etc. necessary
> % * Run "debugger_fun:test()" again, output is now [no,no,no,no]
> n(N) ->
> fun(X) when N==X ->
> (_) ->
> test() ->
> If you replace the "when" clause in the fun with a case expression then
> it works fine.
> Jakob Skipper
> Skipper ApS
> +45 5192 4447
More information about the erlang-bugs