io-net : How to debug a down-producer

Hi,
I want to debug my own down-producer to io-net. (It’s a .so file)

I start it with:
“mount -vvv -Tio-net myDownProducer.so”

Do I need to attach to io-net in order to debug it?

mfillion wrote:

Hi,
I want to debug my own down-producer to io-net. (It’s a .so file)

I start it with:
“mount -vvv -Tio-net myDownProducer.so”

Do I need to attach to io-net in order to debug it?

Yes. Start gdb with no options and then type "attach ", where
is the process ID of io-net. You may also need to type "set
solib-search-path " where is the directory which contains
the myDownProducer.so file. Don’t forget to compile with debugging
turned on.


Regards,
Gilles