<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="">Hello,<div class=""><br class=""></div><div class="">I have an issue with a project, I was trying to inspect the value of a constant of type [GeneType], this type is defined as an associatedtype of a protocol, so there is no explicit type for it, just a constraint to be Hashable :</div><div class=""><br class=""></div><div class="">> protocol GAStandardGenomeRepresentable {<br class="">> <br class="">> associatedtype GeneType:Hashable<br class="">> <br class="">> var standardRepresentation: [GeneType] { get }<br class="">> <br class="">> init(standardRepresentation:[GeneType])<br class="">> <br class="">><br class="">> <br class="">> }</div><div class=""><br class=""></div><div class=""> Unfortunately, inside of Xcode debugger or even by typing <b class="">po nameOfMyConstant </b>in the LLDB console there is <b class="">no</b> value, just this error :</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">error: <EXPR>:3:1: error: use of unresolved identifier 'child1Representation'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">child1Representation</span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal;" class="">Also, if I click on the little (i) icon when my variable is selected in the variables list of the debugger, here is what is displayed in the LLDB console :</div><div style="margin: 0px; line-height: normal;" class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Printing description of child1Representation:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">child1Representation = <could not resolve type></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal;" class="">I can't understand at all what is going on ! I am in debug mode and optimisations are set to none ! I even moved my source files over to a new project, just in case I had done something wrong in the other project settings, but that didn't change anything !</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Do you have any idea of what is going on ? Is it a Swift/LLDB bug ?</div><div style="margin: 0px; line-height: normal;" class=""><i class="">(Xcode Version 8.1 (8B62))</i></div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Thank you.</div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; line-height: normal;" class="">Trevör</div></div></body></html>