Re: Debug ProjectCenter

Daniel Santos <[email protected]> Fri, 29 Nov 2024 10:44:49 +0000
Newsgroups gmane.comp.lib.gnustep.devel
Message-ID <[email protected]>
--Apple-Mail=_A629F1D9-3FF5-4DC2-AFF8-BC1139E16266
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I am now trying to build all of gnustep with debug information.
I am using clang and am compiling from the repos in GitHub at the HEAD =
version
Have built libobjc2 and libs-back, libs-base and libs-gui all with =
debug=3Dyes.
I then built project center also with debug=3Dyes
Now when I am trying to run ProjectCenter installed with =
GNUSTEP_INSTALLATION_DOMAIN=3DLOCAL i am getting an error in an Assert :

gdb -x gdb_cmds.txt =
~/GNUstep/Applications/ProjectCenter.app/ProjectCenter=20
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later =
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from =
/home/dlsa/GNUstep/Applications/ProjectCenter.app/ProjectCenter...
(gdb) run
Starting program: =
/home/dlsa/GNUstep/Applications/ProjectCenter.app/ProjectCenter=20
[Thread debugging using libthread_db enabled]
Using host libthread_db library =
"/lib/x86_64-linux-gnu/libthread_db.so.1".
2024-11-29 10:23:03.973 ProjectCenter[158425:158425] Unsupported context =
depth 24
2024-11-29 10:23:04.091 ProjectCenter[158425:158425] final candidate =
path is: /usr/local/bin/gmake
2024-11-29 10:23:04.091 ProjectCenter[158425:158425] final candidate =
path is: /usr/bin/gmake
2024-11-29 10:23:04.091 ProjectCenter[158425:158425] Build tool found: =
/usr/bin/gmake
2024-11-29 10:23:04.101 ProjectCenter[158425:158425] final candidate =
path is: /usr/local/bin/gdb
2024-11-29 10:23:04.101 ProjectCenter[158425:158425] final candidate =
path is: /usr/bin/gdb
2024-11-29 10:23:04.101 ProjectCenter[158425:158425] Debugger tool =
found: /usr/bin/gdb
2024-11-29 10:23:04.118 ProjectCenter[158425:158425] NSDocumentClass =
PCProjectDocument not found
2024-11-29 10:23:04.118 ProjectCenter[158425:158425] NSDocumentClass =
PCProjectDocument not found
2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass =
PCClassDocument not found
2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass =
PCClassDocument not found
2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass =
PCHeaderDocument not found
2024-11-29 10:23:04.119 ProjectCenter[158425:158425] NSDocumentClass =
PCCDocument not found
[Detaching after vfork from child process 158430]
ProjectCenter: /home/dlsa/code/gnustep/libobjc2/protocol.h:85: struct =
objc_protocol_method_description *protocol_method_at_index(struct =
objc_protocol_method_description_list *, int): Assertion `l->size >=3D =
sizeof(struct objc_protocol_method_description)' failed.

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=3D<optimized out>, =
signo=3Dsigno@entry=3D6, no_tid=3Dno_tid@entry=3D0)
    at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.
(gdb)=20

Seems the problem is in libobjc2, but I don=E2=80=99t have a clue how to =
get past it.

Daniel Santos



> On 26 Nov 2024, at 19:01, Sebastian Reitenbach =
<[email protected]> wrote:
>=20
> On Sunday, November 24, 2024 21:36 CET, Daniel Santos =
<[email protected] <mailto:[email protected]>> wrote:
>=20
>> I recompiled with that option.
>> But I still get the same behaviour.
>=20
> you also compiled gnustep base/gui and back and even libobjc with =
debug symbols?
> Having the full stack of dependencies with debugging symbols, and =
sources still left on disk,
> usually works for me.
>=20
> sebastian
>=20
>=20
>> I am running the program from the .app folder that the build creates =
within the project root folder.
>>=20
>> I do gdb ProjectCenter.app/ProjectCenter
>>=20
>> Daniel Santos
>>=20
>>=20
>>=20
>>> On 24 Nov 2024, at 19:19, Gregory Casamento =
<[email protected]> wrote:
>>>=20
>>> Hey Daniel
>>>=20
>>> Use =E2=80=9Cmake debug=3Dyes=E2=80=9D.  That should work for you.=20=

>>>=20
>>> GC
>>>=20
>>> Gregory Casamento
>>> GNUstep Lead Developer / Black Lotus, Principal Consultant
>>> http://www.gnustep.org <http://www.gnustep.org/> =
<http://www.gnustep.org/ <http://www.gnustep.org/>> - =
http://heronsperch.blogspot.com <http://heronsperch.blogspot.com/> =
<http://heronsperch.blogspot.com/ <http://heronsperch.blogspot.com/>>
>>> https://www.patreon.com/bePatron?u=3D352392 =
<https://www.patreon.com/bePatron?u=3D352392> =
<https://www.patreon.com/bePatron?u=3D352392 =
<https://www.patreon.com/bePatron?u=3D352392>> - Become a Patron
>>> https://www.openhub.net/languages/objective_c =
<https://www.openhub.net/languages/objective_c> =
<https://www.openhub.net/languages/objective_c =
<https://www.openhub.net/languages/objective_c>>
>>> =
https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-implementation =
<https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-implementation=
> =
<https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-implementation=
 =
<https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-implementation=
>>
>>>=20
>>>=20
>>> On Sun, Nov 24, 2024 at 14:17 Daniel Santos <[email protected] =
<mailto:[email protected]> <mailto:[email protected] =
<mailto:[email protected]>>> wrote:
>>> Hi,
>>>=20
>>> I am trying to do some changes in the sources of project center and =
am using gdb to debug.
>>> How do I disable gcc optimisations ?
>>> I tried putting :
>>> CFLAGS =3D -g -O0
>>> in the GNUmakefile.preamble, but I am still getting values that show =
<optimized out> when I print them, and unexpected jumps in the code.
>>>=20
>>> Thanks,
>>> Regards
>>>=20
>>> Daniel Santos


--Apple-Mail=_A629F1D9-3FF5-4DC2-AFF8-BC1139E16266
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I =
am now trying to build all of gnustep with debug information.<div =
class=3D"">I am using clang and am compiling from the repos in GitHub at =
the HEAD version</div><div class=3D"">Have built libobjc2 and libs-back, =
libs-base and libs-gui all with debug=3Dyes.</div><div class=3D"">I then =
built project center also with debug=3Dyes</div><div class=3D"">Now when =
I am trying to run ProjectCenter installed with =
GNUSTEP_INSTALLATION_DOMAIN=3DLOCAL i am getting an error in an Assert =
:</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">gdb -x gdb_cmds.txt =
~/GNUstep/Applications/ProjectCenter.app/ProjectCenter&nbsp;</font></span>=
</div><div class=3D""><span style=3D"font-style: normal;" class=3D""><font=
 face=3D"Courier New" size=3D"2" class=3D"">GNU gdb (Debian 13.1-3) =
13.1</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">Copyright (C) 2023 Free Software Foundation, =
Inc.</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">License GPLv3+: GNU GPL version 3 or later &lt;<a =
href=3D"http://gnu.org/licenses/gpl.html" =
class=3D"">http://gnu.org/licenses/gpl.html</a>&gt;</font></span></div><di=
v class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">This is free software: you =
are free to change and redistribute it.</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">There is NO WARRANTY, to the =
extent permitted by law.</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">Type "show copying" and "show warranty" for =
details.</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" class=3D"">This =
GDB was configured as "x86_64-linux-gnu".</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">Type "show configuration" for =
configuration details.</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">For bug reporting instructions, please =
see:</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">&lt;<a href=3D"https://www.gnu.org/software/gdb/bugs/" =
class=3D"">https://www.gnu.org/software/gdb/bugs/</a>&gt;.</font></span></=
div><div class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">Find the GDB manual and other =
documentation resources online at:</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">&nbsp; &nbsp; &lt;<a =
href=3D"http://www.gnu.org/software/gdb/documentation/" =
class=3D"">http://www.gnu.org/software/gdb/documentation/</a>&gt;.</font><=
/span></div><div class=3D""><span style=3D"font-style: normal;" =
class=3D""><font face=3D"Courier New" size=3D"2" class=3D""><br =
class=3D""></font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" class=3D"">For =
help, type "help".</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">Type "apropos word" to search for commands related =
to "word"...</font></span></div><div class=3D""><span style=3D"font-style:=
 normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">Reading symbols from =
/home/dlsa/GNUstep/Applications/ProjectCenter.app/ProjectCenter...</font><=
/span></div><div class=3D""><span style=3D"font-style: normal;" =
class=3D""><font face=3D"Courier New" size=3D"2" class=3D"">(gdb) =
run</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">Starting program: =
/home/dlsa/GNUstep/Applications/ProjectCenter.app/ProjectCenter&nbsp;</fon=
t></span></div><div class=3D""><span style=3D"font-style: normal;" =
class=3D""><font face=3D"Courier New" size=3D"2" class=3D"">[Thread =
debugging using libthread_db enabled]</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">Using host libthread_db =
library =
"/lib/x86_64-linux-gnu/libthread_db.so.1".</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">2024-11-29 10:23:03.973 =
ProjectCenter[158425:158425] Unsupported context depth =
24</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">2024-11-29 10:23:04.091 ProjectCenter[158425:158425] final =
candidate path is: /usr/local/bin/gmake</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">2024-11-29 10:23:04.091 =
ProjectCenter[158425:158425] final candidate path is: =
/usr/bin/gmake</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">2024-11-29 10:23:04.091 =
ProjectCenter[158425:158425] Build tool found: =
/usr/bin/gmake</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">2024-11-29 10:23:04.101 =
ProjectCenter[158425:158425] final candidate path is: =
/usr/local/bin/gdb</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">2024-11-29 10:23:04.101 =
ProjectCenter[158425:158425] final candidate path is: =
/usr/bin/gdb</font></span></div><div class=3D""><span style=3D"font-style:=
 normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">2024-11-29 10:23:04.101 ProjectCenter[158425:158425] Debugger =
tool found: /usr/bin/gdb</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">2024-11-29 10:23:04.118 =
ProjectCenter[158425:158425] NSDocumentClass PCProjectDocument not =
found</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">2024-11-29 10:23:04.118 ProjectCenter[158425:158425] =
NSDocumentClass PCProjectDocument not found</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">2024-11-29 10:23:04.119 =
ProjectCenter[158425:158425] NSDocumentClass PCClassDocument not =
found</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">2024-11-29 10:23:04.119 ProjectCenter[158425:158425] =
NSDocumentClass PCClassDocument not found</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">2024-11-29 10:23:04.119 =
ProjectCenter[158425:158425] NSDocumentClass PCHeaderDocument not =
found</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">2024-11-29 10:23:04.119 ProjectCenter[158425:158425] =
NSDocumentClass PCCDocument not found</font></span></div><div =
class=3D""><span style=3D"font-style: normal;" class=3D""><font =
face=3D"Courier New" size=3D"2" class=3D"">[Detaching after vfork from =
child process 158430]</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">ProjectCenter: =
/home/dlsa/code/gnustep/libobjc2/protocol.h:85: struct =
objc_protocol_method_description *protocol_method_at_index(struct =
objc_protocol_method_description_list *, int): Assertion `l-&gt;size =
&gt;=3D sizeof(struct objc_protocol_method_description)' =
failed.</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" class=3D""><br =
class=3D""></font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">Program received signal SIGABRT, =
Aborted.</font></span></div><div class=3D""><span style=3D"font-style: =
normal;" class=3D""><font face=3D"Courier New" size=3D"2" =
class=3D"">__pthread_kill_implementation (threadid=3D&lt;optimized =
out&gt;, signo=3Dsigno@entry=3D6, =
no_tid=3Dno_tid@entry=3D0)</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">&nbsp; &nbsp; at =
./nptl/pthread_kill.c:44</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">44<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>./nptl/pthread_kill.c: No such =
file or directory.</font></span></div><div class=3D""><span =
style=3D"font-style: normal;" class=3D""><font face=3D"Courier New" =
size=3D"2" class=3D"">(gdb)&nbsp;</font></span></div><div class=3D""><br =
class=3D""></div></div><div class=3D"">Seems the problem is in libobjc2, =
but I don=E2=80=99t have a clue how to get past it.</div><div =
class=3D""><br class=3D""><div class=3D"">
<div>Daniel Santos</div><div class=3D""><br class=3D""></div><br =
class=3D"Apple-interchange-newline">

</div>

<div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 26 Nov 2024, at 19:01, Sebastian Reitenbach &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
charset=3D"UTF-8" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">On Sunday, November 24, 2024 21:36 CET, Daniel Santos =
&lt;</span><a href=3D"mailto:[email protected]" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D"">[email protected]</a><span=
 style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">&gt; wrote:</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D"">I =
recompiled with that option.<br class=3D"">But I still get the same =
behaviour.<br class=3D""></blockquote><br style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">you also compiled gnustep base/gui and back and even libobjc =
with debug symbols?</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">Having the full stack of dependencies with debugging symbols, =
and sources still left on disk,</span><br style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">usually works for me.</span><br style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">sebastian</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">I am running the program from the =
.app folder that the build creates within the project root folder.<br =
class=3D""><br class=3D"">I do gdb ProjectCenter.app/ProjectCenter<br =
class=3D""><br class=3D"">Daniel Santos<br class=3D""><br class=3D""><br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">On 24 Nov =
2024, at 19:19, Gregory Casamento &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:<br class=3D""><br =
class=3D"">Hey Daniel<br class=3D""><br class=3D"">Use =E2=80=9Cmake =
debug=3Dyes=E2=80=9D. &nbsp;That should work for you.<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""><br =
class=3D"">GC<br class=3D""><br class=3D"">Gregory Casamento<br =
class=3D"">GNUstep Lead Developer / Black Lotus, Principal Consultant<br =
class=3D""><a href=3D"http://www.gnustep.org/" =
class=3D"">http://www.gnustep.org</a><span =
class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"http://www.gnustep.org/" =
class=3D"">http://www.gnustep.org/</a>&gt; -<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"http://heronsperch.blogspot.com/" =
class=3D"">http://heronsperch.blogspot.com</a><span =
class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"http://heronsperch.blogspot.com/" =
class=3D"">http://heronsperch.blogspot.com/</a>&gt;<br class=3D""><a =
href=3D"https://www.patreon.com/bePatron?u=3D352392" =
class=3D"">https://www.patreon.com/bePatron?u=3D352392</a><span =
class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"https://www.patreon.com/bePatron?u=3D352392" =
class=3D"">https://www.patreon.com/bePatron?u=3D352392</a>&gt; - Become =
a Patron<br class=3D""><a =
href=3D"https://www.openhub.net/languages/objective_c" =
class=3D"">https://www.openhub.net/languages/objective_c</a><span =
class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"https://www.openhub.net/languages/objective_c" =
class=3D"">https://www.openhub.net/languages/objective_c</a>&gt;<br =
class=3D""><a =
href=3D"https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-impleme=
ntation" =
class=3D"">https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-impl=
ementation</a><span class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-impleme=
ntation" =
class=3D"">https://www.gofundme.com/f/cacao-linux-a-gnustep-reference-impl=
ementation</a>&gt;<br class=3D""><br class=3D""><br class=3D"">On Sun, =
Nov 24, 2024 at 14:17 Daniel Santos &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a><span =
class=3D"Apple-converted-space">&nbsp;</span>&lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">mailto:[email protected]</a>&gt;&gt; wrote:<br =
class=3D"">Hi,<br class=3D""><br class=3D"">I am trying to do some =
changes in the sources of project center and am using gdb to debug.<br =
class=3D"">How do I disable gcc optimisations ?<br class=3D"">I tried =
putting :<br class=3D"">CFLAGS =3D -g -O0<br class=3D"">in the =
GNUmakefile.preamble, but I am still getting values that show =
&lt;optimized out&gt; when I print them, and unexpected jumps in the =
code.<br class=3D""><br class=3D"">Thanks,<br class=3D"">Regards<br =
class=3D""><br class=3D"">Daniel =
Santos</blockquote></blockquote></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_A629F1D9-3FF5-4DC2-AFF8-BC1139E16266--