If you can start the IDE:
- Open project: "ide/lazarus.lpi"
- Run
A 2nd ide will start, and this 2nd IDE will be debugged by the first.
You may have to first rebuild the IDE with debug info. See "Tools" menu "Config build laz". Specify -g in the options, then build all.
---
If the IDE crashes when you start it:
- This can be the configuration that is loaded. Or the project it tries to open
the config is in /home/yourname/.lazarus
Please make a backup, then move it, and try to start the IDE.
If it is the config, then please upload the files, so they can be tested.
Please also report the packages that you have installed (e.g. docking, edittoolbar, ...)
Also try (with the config still in place, so you will get the crash) from a shell:
gdb -i mi -ex "set auto-solib-add off" -ex "b FPC_RUNERROR" -ex "b FPC_BREAK_ERROR" -ex r /path/to/lazarus
and when the crash happened type:
bt
You should get a stack trace