How to use debugger with nested static libraries in Xcode?

The project that I inherited has the following structure:

Project A creates a static library.

Project B creates a static library and links to library A.

Project C creates an executable and links to library B.

When I run the application in debug mode, I can successfully debug the code inside the executable (project C) and the static library from project B. However, I cannot debug anything in the Project A library - my breakpoints are ignored. I checked and made sure that debugging characters are enabled and not separated. Is there anything else I am missing?

thank

+3
source share
1 answer

You might want to include a shared build folder for all your projects. Thus, dsym files are easy to find for the debugger.

Xcode-> Preferences-> Building-> Customized Location

+2
source

Source: https://habr.com/ru/post/1742912/


All Articles