I'm working my way through some simple programs for learning Erlang, and whenever I try to use the debugger I get "Invalid beam file or no abstract code: test_module" and nothing interesting happens. It looks to me like I'm compiling my modules without debugging symbols, but I can't seem to find how to fix it.
Here's what I do:
>c(test).
>debugger:quick(test, start, []).
** Invalid beam file or no abstract code: test
I feel like I must be missing something obvious. I have also tried this:
>debugger:start().
which pops up a nice looking window, but loading files (test.erl, test.beam) gives me similar error messages.