On 24/11/2019 20:42, Bo Berglund via lazarus wrote:
After reading the gdb --help screen:
pi@rpi4-gui:~ $ gdb --args /home/pi/dev/lazarus/2.0.6/lazarus
No --args
In the terminal enter
gdb /home/pi/dev/lazarus/2.0.6/lazarus
then wait for the gdb output. It will end with a "(gdb)" prompt.
Now enter
r --pcp=/home/pi/.lazarus_2.0.6
Then when the IDE encounters the issue that closes it, the IDE will
probably freeze. (paused by gdb)
Gdb will probably print something about SigSegv (or similar), and gdb
will show a prompt again.
At that prompt, you can now type
bt
and gdb will print the stack for the issue.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus