erlang and gdb

Bjorn Gustavsson bjorn@REDACTED
Tue Sep 13 10:51:50 CEST 2005


To update the script, you can run

   erl -emu_args

to find out which arguments that are normally passed to 'beam'.

You'll also need to set some environment variable, for instance
BINDIR. You can look in the 'erl' script to see how they should
be set.

But if you have a core-file, you just run gdb like this:

gdb <Root of installation>/erts-5.4.9/bin/beam core

/Bjorn

Claes Wikstom <klacke@REDACTED> writes:

> I'm getting a SIGSEGV when I start R10B-7 on one of machines.
> 
> What's the preferred way to run the emulator under gdb these days?
> I used to use a script that was initially crafted by Tony I think
> but it's rotted over the years ...
> 
> 
> /klacke
> 

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list