Issue while debugging code built by swift package manager


(none) #1

I am able to set breakpoints in lldb but always getting module errors
whenever trying to print anything.
SampleUsage module was built using swift build from latest toolchain

(lldb) po hello
error: Error in auto-import:
failed to get module 'SampleUsage' from AST context

···

--
Ankit


(Mish Awadah) #2

Please file a bug and include all the steps you used to reproduce this, as well as the project you used.

Thanks!
- mish

···

On Dec 5, 2015, at 10:55 AM, Ankit Agarwal <ankit.spd@gmail.com> wrote:

I am able to set breakpoints in lldb but always getting module errors whenever trying to print anything.
SampleUsage module was built using swift build from latest toolchain

(lldb) po hello
error: Error in auto-import:
failed to get module 'SampleUsage' from AST context

--
Ankit

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(none) #3

https://bugs.swift.org/browse/SR-85

···

On Tue, Dec 8, 2015 at 12:19 AM, Mish Awadah <mawadah@apple.com> wrote:

Please file a bug and include all the steps you used to reproduce this, as
well as the project you used.

Thanks!
- mish

On Dec 5, 2015, at 10:55 AM, Ankit Agarwal <ankit.spd@gmail.com> wrote:

I am able to set breakpoints in lldb but always getting module errors
whenever trying to print anything.
SampleUsage module was built using swift build from latest toolchain

(lldb) po hello
error: Error in auto-import:
failed to get module 'SampleUsage' from AST context

--
Ankit

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

--
Ankit