debugging - Xcode's 'po' fails to identify the variable I wish to study. Wny? -


Environment: Xcode 6 Beta 4
I'm just trying to check the text value using the debugger . However, the debugger fails to identify the static variable (through 'Walk'). This is also true for Wars.

Why?

  Funk Textfield Shawl Ritter (Textfield: UITFixified) - & gt; Boole {myText = "Hello World" The Text = TextField.Text! Here is the debugger result: 

(lldb) PO textField error :: 1: 1: error: the unrecognized identifier Use 'text field' textfield ^: 11: 5: Error: Use of unresolved identifier '$ __ lldb_injected_self' $ __ lldb_injected_self $ __ lldb_wrapped_expr_29 (
^ (lldb) Po myText Error :: 1: 1: Error: Uses of Unsolved Identifier 'myText' MyText ^: 11: 5: Error: Use of unsolved identifier '$ __ lldb_injected_self' $$ __ lldb_injected_self. $ __ lldb_wrapped_expr_30 (
) (P) Thetext Error :: 1: 1: Error: Unsolved Identifier 'theText' theText ^: 11: 5: Error: Unsolved Identifier '$ __ lldb_injected_self Use of $ __ lldb_injected_self $ __ lldb_wrapped_expr_31 (
^ (lldb)

Note: 'All output is defined for debug output.'

Screened here Dot:

image here enter details

This is a problem that I have also encountered, and I think it is a bug in debugger. If you declare someone with 'Walk' If you do not even use the variable, then the police command will work. It is not closed at all that you want, so I filed a bug with Apple for this issue.

I think you should expect that it is fixed in the next beta (also a bug file, because the number of bugs filed will affect Apple's priority in fixing them) . Meanwhile, go with Amit's workaround.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -