When C module includes a header outside of module's include/ directory and
not residing in /usr/local/include or /usr/include, lldb stops showing variable
values for the entire application.
I've created a ticket with a test project and additional details in the bug tracker,
any help is appreciated:
Update: I've found that debugging works if C module is in a separate repository. So, this problem is only present if there are two modules in Sources/ dir of the same repo. It doesn't matter if headers are located in /usr/local/include or in other location.
Andrey
···
On 09 Nov 2016, at 22:48, Andrey Fidrya <af@zabiyaka.com> wrote:
Hi All,
When C module includes a header outside of module's include/ directory and
not residing in /usr/local/include or /usr/include, lldb stops showing variable
values for the entire application.
Could you put the working example in the bug as well?
Jim
···
On Nov 10, 2016, at 11:39 AM, Andrey Fidrya via swift-users <swift-users@swift.org> wrote:
Hi All,
Update: I've found that debugging works if C module is in a separate repository. So, this problem is only present if there are two modules in Sources/ dir of the same repo. It doesn't matter if headers are located in /usr/local/include or in other location.
Andrey
On 09 Nov 2016, at 22:48, Andrey Fidrya <af@zabiyaka.com> wrote:
Hi All,
When C module includes a header outside of module's include/ directory and
not residing in /usr/local/include or /usr/include, lldb stops showing variable
values for the entire application.