Hi,
I reinstalled gdb and recreated the cert. The problem isn't solved :/ Thank you for your help
Do you have more ideas?
If you run any antivirus make sure that does not interfere.
--> No antivirus
Maybe this can be solved by changing some settings.
In Menu "Tools" > Options. Then page "Debugger".
There is a property grid. One entry is "InternalStartBreak".
You can try the other values. Maybe gdsbEntry or gdsbMainAddress.
--> No effect :/
Btw, when it hangs, did you try "reset debugger" from "run" menu?
--> Yes
, but no effect
Also once the IDE hangs, open another console, run a "ps ax" or equivalent, and see if gdb is still running. Also if your app is running.
Output:
ps
PID TTY TIME CMD
936 ttys000 0:00.03 -bash
984 ttys000 0:07.96 ./lazarus --log-enable
995 ttys000 0:00.46 /usr/local/bin/gdb -silent -i mi -nx
1004 ttys001 0:00.03 -bash
Unfortunately the last bits of the file were not flushed to disk. Not sure if,what they would have revealed.
You could try to run Lazarus from a console (with --log-enable / but without --log-file) then you get the output in the console window, and might get the last line.
[...]
(gdb)
<-break-insert -f foo>
&"Function \"foo\" not defined.\n"
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="foo",times="0",original-location="foo"}
(gdb)
<-break-delete 1>
^done
(gdb)
<-break-insert main>
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000118a0",func="PASCALMAIN",file="project1.lpr",fullname="/Users/miguel/tmp/project1.lpr",line="20",thread-groups=["i1"],times="0",original-location="main"}
(gdb)
<-break-insert *71456>
^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00011720",at="<start>",thread-groups=["i1"],times="0",original-location="*71456"}
(gdb)
<-break-insert +0>
^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x00011855",func="PASCALMAIN",file="project1.lpr",fullname="/Users/miguel/tmp/project1.lpr",line="6",thread-groups=["i1"],times="0",original-location="/Users/miguel/tmp/project1.lpr:+0"}
(gdb)
<-exec-run>
=thread-group-started,id="i1",pid="997"
=thread-created,id="1",group-id="i1"
=thread-exited,id="1",group-id="i1"
=thread-group-exited,id="i1"