[erlang-questions] enif_send from a thread after NIF returns

Dave Smith <>
Mon Oct 25 20:02:13 CEST 2010


On Mon, Oct 25, 2010 at 11:56 AM, Joel Reymont <> wrote:
>
> Want to debug your NIF? Attach a debugger and you are there. The layer between the Erlang VM and your C code is thin and transparent! Compare this to trying to debug a port driver, even if you manage to fully understand it's underlying mechanisms.

I've never had any problems debugging a port. As you say, attach a
debugger, set a breakpoint and wait for it to fire...

D.


More information about the erlang-questions mailing list