Debugging
From K-3D
This page gives a brief overview on how to do basic debugging on K-3D crashes.
- Build K-3D with CMAKE_BUILD_TYPE set to Debug in cmake
- If you have a consistent way of crashing K-3D, start K-3D from the build dir using make run-debug
- At the gdb prompt, type run
- Do what is needed to provoke the crash
- Switch back to the terminal where you started K-3D, and type 'bt'
- You should now get a trace, showing the files and lines of source code that led to the crash

