[swift-users] lldb not working when C module includes a header outside of it's /include dir

Jim Ingham jingham at apple.com
Thu Nov 10 14:56:20 CST 2016


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 at 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 at 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.
>> 
>> I've created a ticket with a test project and additional details in the bug tracker,
>> any help is appreciated:
>> https://bugs.swift.org/browse/SR-3169
>> 
>> Andrey
>> 
> 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users



More information about the swift-users mailing list