I recompiled with that option. But I still get the same behaviour. I am running the program from the .app folder that the build creates within the project root folder.
I do gdb ProjectCenter.app/ProjectCenter Daniel Santos > On 24 Nov 2024, at 19:19, Gregory Casamento <greg.casame...@gmail.com> wrote: > > Hey Daniel > > Use “make debug=yes”. That should work for you. > > GC > > Gregory Casamento > GNUstep Lead Developer / Black Lotus, Principal Consultant > http://www.gnustep.org <http://www.gnustep.org/> - > http://heronsperch.blogspot.com <http://heronsperch.blogspot.com/> > https://www.patreon.com/bePatron?u=352392 > <https://www.patreon.com/bePatron?u=352392> - Become a Patron > 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> > > > On Sun, Nov 24, 2024 at 14:17 Daniel Santos <daniel.d...@gmail.com > <mailto:daniel.d...@gmail.com>> wrote: > Hi, > > 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 = -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. > > Thanks, > Regards > > Daniel Santos > > > >