On Thu, Aug 13, 2009 at 2:10 PM, Michael Pitidis<[email protected]> wrote:
>
> Distributing erlang with stripped debug info breaks dialyzer (and probably any
> application which extracts abstract code from beam files). Dialyzer requires a
> persistent lookup table (plt), containing analysis information from any
> dependencies. Any non-trivial erlang program uses several library functions
> from erlang-base, therefore it's a very common scenario to build a plt from
> some of these libraries.

I know that dialyzer and debugger don't work when the debug info is
stripped from beam files.

The idea of removing debug info was to reduce the size of the packages
making them more usable in embedded environment and fit small-size
media (needed for UbuntuOne project).

So, now I'm a bit unsure which way to prefer - restore debug info in
beams or leave dialyzer and debugger broken. Building set of -dbg
packages (installable simultaneously) seem to be too complicated
(technically it's possible to point erlang root to an alternative
directory, but it'd be hard to make other packages installed to
/usr/lib/erlang/lib work with that setup).

Cheers!
-- 
Sergei Golovan



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to