https://bugs.kde.org/show_bug.cgi?id=503813

--- Comment #20 from Igor Kushnir <igor...@gmail.com> ---
OK, so the simplest crash fix is to add and check the QPointer guard. Can be
cherry-picked to the stable KDevelop branch. Would you like to create a merge
request with the fix?

If you want to figure out why two menus are created, a debugger could help.
> Either way, since the debugger exits at an unrelated point there, the IDE is
> not particularly doing anything +ive, so the terminal is fine.
You can try the GDB command line. I use the following gdb-kdev alias configured
in ~/.bashrc to enable KDevelop's pretty printers for Qt types:
    alias gdb-no-debuginfod=$'gdb -ex "set debuginfod enabled off"'
    alias gdb-kdev=$'gdb-no-debuginfod -ex "python sys.path.insert(0,
\'/usr/share/kdevgdb/printers\')" -ex "source
/usr/share/kdevgdb/printers/gdbinit"'

Or debug KDevelop in KDevelop. This requires environment configuration from
prefix.sh and specifying a different session in the Arguments line edit of the
kdevelop Launch Configurations page.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to