xcode-kotlin icon indicating copy to clipboard operation
xcode-kotlin copied to clipboard

PrintObject (po) statement doesn't work

Open romanandreyvich opened this issue 5 years ago • 8 comments

I did everything described in Readme Now I'm able to use breakpoints but not able to use "po" statement or see an object state when code execution stopped at a breakpoint inside my common code.

Kotlin.ideplugin, Kotlin.xclangspec, Xcode.SourceCodeLanguage.Kotlin.plist are in the right place. Tried to reinstall the plugin but got the same issue.

Does it work as expected? I use Xcode 11.2 GM, macOs 10.14.4, KotlinNative 1.3.71

romanandreyvich avatar Apr 08 '20 09:04 romanandreyvich

I have the same issue @romanandreyvich Did you fix it? Thanks.

Ricardo1980 avatar Dec 03 '20 17:12 Ricardo1980

Same here, it was working for me for Xocde 11, but doesn't seem to work with Xcode 12

raspu avatar Dec 11 '20 11:12 raspu

Me too , "po" statement makes my XCode not responding

yuzhiyunAtTencent avatar Dec 24 '20 10:12 yuzhiyunAtTencent

Me too , "po" statement makes my XCode not responding

xcode 12

yuzhiyunAtTencent avatar Dec 24 '20 10:12 yuzhiyunAtTencent

People have been asking about this. We need to figure out how best to use cli access with po, then figure out how to hack the lldb script to support both. (internal note :) )

kpgalligan avatar Mar 23 '22 00:03 kpgalligan

I think I finally know who's going to sort this out...

kpgalligan avatar Mar 29 '22 13:03 kpgalligan

Any updates on this?

shridharav avatar Jun 14 '22 05:06 shridharav

Xcode 14.0.1, same, unable to PO. Guys, any update?

(lldb) po app
error: expression failed to parse:
error: <user expression 0>:1:1: use of undeclared identifier 'app'

Haibo-Zhou avatar Jan 08 '23 16:01 Haibo-Zhou