After coming this SO question about (debug_info)[http://stackoverflow.com/questions/6830271/requesting-debug-info-in-an-erlang-module-using-compile], I am curious if it is indeed a problem.
Based on the (documentation)[http://www.erlang.org/doc/man/compile.html#debug_info], this should enable the addition of debug info to the .beam files.
1 2 |
|
However neither using c
in erlang shell or using erlc
directly will put the debug info into beam file.
I can only implant debug info through erlang shell like this:
1 2 3 4 5 6 7 |
|