I have an abnormal exception in a Linux mono assembly.
Unhandled Exception: System.ObjectDisposedException: The object was used after being disposed.
at System.Net.Sockets.Socket.ReceiveAsync (System.Net.Sockets.SocketAsyncEventArgs e) [0x00000] in <filename unknown>:0
at cloudBus.TCPConnection.Receive () [0x0003d] in /home/xyz/cloudBus/TCPServer.cs:26
...
I want to get line number and filename for ReceiveAsync. I did compile in with -debug flag and execute with --debug. I also get full mono from Git and recompile it but I can't get debug info.
What option to use to get the exception line info? I think this is mono make option but can't find it.
When found I'll try to fix this bug, only reproductible on Linux, and report correction.