I am working on some simple programs to learn Erlang, and whenever I try to use a debugger, I get "Invalid ray file or without abstract code: test_module", and nothing interesting happens. It seems to me that I am compiling my modules without debugging symbols, but I cannot find how to fix it.
That's what I'm doing:
>c(test).
>debugger:quick(test, start, []).
** Invalid beam file or no abstract code: test
I feel that I must be missing something obvious. I also tried this:
>debugger:start().
which appears in a beautiful window, but downloading files (test.erl, test.beam) gives me similar error messages.
source
share