Re: ProjectCenter : GDB the framework

Daniel Santos <[email protected]> Sun, 3 Oct 2021 16:33:27 +0100
Newsgroups gmane.comp.lib.gnustep.devel
Message-ID <[email protected]>
If I set a breakpoint in a file outside the framework, I can step into framework code and list, etc.
Don’t know how to set breakpoints inside the framework.
Daniel Santos



> On 3 Oct 2021, at 16:16, Daniel Santos <[email protected]> wrote:
> 
> Did the following :
> 
> dlsa@dardo:~/code/apps-projectcenter$ file /usr/lib/GNUstep/Frameworks/ProjectCenter.framework/Versions/Current/libProjectCenter.so.0.6.2 
> /usr/lib/GNUstep/Frameworks/ProjectCenter.framework/Versions/Current/libProjectCenter.so.0.6.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=83c351204bd9cf4f82f7a08811d3acaa872d4cca, with debug_info, not stripped
> 
> dlsa@dardo:~/code/apps-projectcenter$ file Framework/ProjectCenter.framework/Versions/Current/libProjectCenter.so.0.6.2 
> Framework/ProjectCenter.framework/Versions/Current/libProjectCenter.so.0.6.2: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=83c351204bd9cf4f82f7a08811d3acaa872d4cca, with debug_info, not stripped
> Daniel Santos
> 
> still does not know about the files in the Framework.
> 
> Thanks,
> Regards
> 
> 
>> On 3 Oct 2021, at 15:37, Daniel Santos <[email protected]> wrote:
>> 
>> Hi,
>> 
>> I want to debug some code inside the ProjectCenter framework. I fire up gdb on the executable but it only knows about the headers and the classes that are not in the Framework directory. I tried doing : “directory Framework”, but no effect.
>> I have set -g in the ADDITIONAL_CFLAGS just in case, at the root level and in the Framework subdirectory.
>> 
>> Thanks,
>> Regards
>> 
>> Daniel Santos
>> 
>> 
>> 
>