Any hints on debugging a plugin in linux
? I've read all pages in the Development Debugging Environment
, as well as this thread. Right now the opencpn
site is down so I can't double check the instructions. (edit) it's back online. too much use???)
It's been 10 years since I've used the debugger in unix so I'm a little unsure. I also have never run ddd
When I close opencpn I get a segfault.
When I disable my plugin and close opencpn I don't get a segfault.
Program received signal SIGSEGV, Segmentation fault.
0xb7c8cf6d in ?? () from /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0
/home/ ....... engine_pi/src/d1-debug.c: No such file or directory
I'm thinking that I may need to compile my plugin with some debug info?
Also, when I looked at the troubleshooting page on the opencpn website, the
command line interface section describing the -p option, the link is broken
Anything to point me in a direction would be appreciated