You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a traditional hierarchy View->Toplevel->Window, whenever I am in a method inside View but in an instance of Window, the debugger does not display the contents the object as a Window, but rather as a View.
The hash a1d2063fa778dae715314129a943c705870921b0 should reliably show this.
This requires the application to be launched externally (configure Xcode to "Wait for process to attach") as it is an ncurses app. Then set a breakpoint on View.relativeLayout, this will be called with assorted instances of subclasses of View, but the debugger will never show self there to be anything but a View.
I originally discussed this in the Swift Forums, with some background:
Attachment: Download
Environment
Xcode 10.2.1 on MacOS 10.14.4
Additional Detail from JIRA
md5: e91834afb27e9ec04aa3565d825d683c
Issue Description:
I have a traditional hierarchy View->Toplevel->Window, whenever I am in a method inside
View
but in an instance ofWindow
, the debugger does not display the contents the object as aWindow
, but rather as aView
.A reproduction test case is available here:
https://github.com/migueldeicaza/TermKit
The hash a1d2063fa778dae715314129a943c705870921b0 should reliably show this.
This requires the application to be launched externally (configure Xcode to "Wait for process to attach") as it is an ncurses app. Then set a breakpoint on View.relativeLayout, this will be called with assorted instances of subclasses of
View
, but the debugger will never show self there to be anything but a View.I originally discussed this in the Swift Forums, with some background:
https://forums.swift.org/t/can-the-debugger-display-information-for-the-most-derived-type/24024/3
See attached screenshot.
The text was updated successfully, but these errors were encountered: