[erlang-questions] how can I debug errors in linked-in drivers or nif loaded as shared library?

Attila Rajmund Nohl attila.r.nohl@REDACTED
Fri Dec 24 12:39:32 CET 2010

2010/12/24, caox <caox@REDACTED>:
> hi
> 	I got a segmentation fault and a core.dump file when tested my linked-in
> driver. How could I debug it with gdb?
> 	For an executable c file, we can just call 'gdb a.out core.dump'. How can I
> do this for a .so file loaded by erlang?

If I remember correctly, you should use the path to the erl binary in
place of 'a.out'.

More information about the erlang-questions mailing list