<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Or actually:<div class=""><br class=""></div><div class=""><a href="https://github.com/apple/swift/blob/master/docs/DebuggingTheCompiler.rst#debugging-failures-in-lldb" class="">https://github.com/apple/swift/blob/master/docs/DebuggingTheCompiler.rst#debugging-failures-in-lldb</a></div><div class=""><br class=""></div><div class="">I would just enable all of the logging and post it here or if the log is very big put the log into a pastebin.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 6, 2017, at 8:59 AM, Michael Gottesman via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I am not going to answer this fully (I forwarded it to the appropriate people though). But to help them out, can you go to ./docs/DebuggingTheCompiler and enable lldb logging and post the output here?<div class=""><br class=""></div><div class="">Michael</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 6, 2017, at 8:43 AM, Fadi Botros via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" class=""><div class="">I'm interested in doing Web Application using Swift and promoting this to be a trend someday.</div><div class="">But I couldn't find a way to debug web apps without using Xcode</div><div class="">This is irrelevant because web applications are mainly on Linux, so what if we want to do remote debugging ?</div><div id="yui_3_16_0_ym19_1_1509899666408_2586" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1509899666408_2587" dir="ltr" class="">I tried using the SPM, and when I try to compile a Kitura or Perfect app then try to debug it, it gives me this</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1509899666408_2649" class="">(lldb) po print(self)<br id="yui_3_16_0_ym19_1_1509899666408_2644" class="">warning: Swift error in module <moduleName>.<br id="yui_3_16_0_ym19_1_1509899666408_2645" class="">Debug info from this module will be unavailable in the debugger.<br id="yui_3_16_0_ym19_1_1509899666408_2646" class=""><br id="yui_3_16_0_ym19_1_1509899666408_2647" class="">error: in auto-import:<br id="yui_3_16_0_ym19_1_1509899666408_2648" class="">failed to get module '<SomeModuleName>' from AST context</div><div dir="ltr" id="yui_3_16_0_ym19_1_1509899666408_2655" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1509899666408_2578" class="">I'm using macOS Sierra (sorry didn't have time to upgrade), with Swift 4 that comes with Xcode 9</div><div class="">Also tried the same experiment on Xubuntu using Swift 4 debian package provided on <a href="http://swift.org/" class="">swift.org</a> itself</div><div class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1509899666408_2691" class="">The only succeeded way is to generate an xcodeproj and compile it, this is irrelevant because it is only macOS, while servers are Linux.<br class=""></div></div></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-users" class="">https://lists.swift.org/mailman/listinfo/swift-users</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>