[erlang-questions] What are the debugging possibilities with a C port

Erik Axling axling@REDACTED
Wed Nov 26 16:59:45 CET 2014


Hello!

Im currently writing an erlang port of a C library. I can start the port
but when sending commands to it it fails. What are the debugging option
here. Can i use GDB in some way even though the port isn't a shared library
like a nif?

Can i write to stdout or will those not be seen as the port communicates
over stdin and stdout?

Thanks for any help.

/axling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141126/fb9b2fcc/attachment.htm>


More information about the erlang-questions mailing list