[erlang-questions] cean and dbg

Kenneth Lundin kenneth.lundin@REDACTED
Tue Jun 26 08:24:48 CEST 2007


On 6/25/07, Christophe Romain <christophe.romain@REDACTED> wrote:
> the cean prod distribution uses stripped beam files (without debug info)
> so i guess i only have to include runtime_tools into base cean
> archive for the devel distribution.
> right ?
>
No you are not right.
You should include runtime_tools in the cean prod distribution as well.

The dbg module and other stuff in runtime_tool does not make use of
debug_info in the beam files.

Tracing (which dbg is an interface for) is totally unrelated to
debugging which the debugger does and which used the debug_info chunk
in the beam files.
For tracing no specific compiler options are required, you use it on
production code.

/Kenneth



More information about the erlang-questions mailing list