[Lazarus] Lazarus 2.0.6 IDE suddenly disappeared losing a lot of edits...

Luca Olivetti luca at wetron.es
Sun Nov 24 14:04:14 CET 2019


El 24/11/19 a les 10:22, Bo Berglund via lazarus ha escrit:
> On Sun, 24 Nov 2019 03:21:11 +0100, Martin Frb via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
> 
>> On 24/11/2019 01:30, Bo Berglund via lazarus wrote:
>>> And I have been bitten several times the last days by the suddenly
>>> disappearing Lazarus application....
>>
>> If you can.... Run your Lazarus in gdb.
>>     gdb path/to/lazarus
>>
>> and then in gdb hit r and return.
> 
> I always start lazarus in the GUI using the menu command.
> During installation I create a version dependent .lazarus_2.0.x dir so
> I can use different versions on the same system. So the command to
> start lazarus in the desktop file is:
> 
> Exec=/home/pi/dev/lazarus/2.0.6/startlazarus
> --pcp=/home/pi/.lazarus_2.0.6 %f
> 
> What should I do in order to make this work through gdb?

gdb /home/pi/dev/lazarus/2.0.6/lazarus
r --pcp=/home/pi/.lazarus_2.0.6


I don't know much about gdb (I always use it through the ide) but "man 
gdb" would have told you that (r is an abbreviation for run):

"
        Here are some of the most frequently needed GDB commands:

        break [file:]function
            Set a breakpoint at function (in file).

--->   run [arglist]
            Start your program (with arglist, if specified).

        bt  Backtrace: display the program stack.
"


Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the lazarus mailing list