2023-01-19, 07:00 PM
(This post was last modified: 2023-01-19, 07:00 PM by seandepagnier.)
what you need to do is recompile opencpn with debugging symbols:
cd OpenCPN
mkdir build
cd build
rm -rf *
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
Now run opencpn like this:
gdb opencpn
(gdb) r
Now get into the "bad state" and stop the debugger with ctrl+c to find what opencpn is doing.
cd OpenCPN
mkdir build
cd build
rm -rf *
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
Now run opencpn like this:
gdb opencpn
(gdb) r
Now get into the "bad state" and stop the debugger with ctrl+c to find what opencpn is doing.