On Mon, Aug 12, 2019 at 06:10:19PM -0400, Benedict Holland wrote:
> You probably need to compile lyx though. I assume that Lyx uses the O2 flag
> for production builds so while error messages and logs are a huge help
> (minimum working example is the best), unless you can compile with the O0
> flag for gcc, gdb will just return a mess.

For reporting backtrace ('bt' command in gdb) to give us clue where the crash
occurred the most important is to compile lyx with debug info included
(./configure --enable-debug). Otherwise you loose info about line numbers.

Unless you want to actively step through the code and watch variables
02 vs O0 is less important...

Pavel

Reply via email to