Re: [lldb-dev] --top-level doesn't work in lldb for Objective-C or Swift :(

2016-10-05 Thread Rex Fenley via lldb-dev
> Please file a bug about the problem with ObjC constant strings. > > Jim > > > > On Oct 4, 2016, at 3:57 PM, Rex Fenley via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > > > > Hey lldb team! > > > > I'm trying to use `expr --top-level` from lldb

Re: [lldb-dev] Connecting to lldb-rpc-server

2016-10-07 Thread Rex Fenley via lldb-dev
ly also experiment with that to make sure that's possible > before you go too far down this route. > > > > Jim > > > > > >> On Oct 7, 2016, at 12:05 PM, Rex Fenley via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > >> > >> https://medi

Re: [lldb-dev] Connecting to lldb-rpc-server

2016-10-07 Thread Rex Fenley via lldb-dev
t and should be treated as an implementation detail of Xcode. What > are you trying to accomplish? > > Kate Stone k8st...@apple.com >  Xcode Low Level Tools > > On Oct 6, 2016, at 6:11 PM, Rex Fenley via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > > Hi! I'm trying

Re: [lldb-dev] Connecting to lldb-rpc-server

2016-10-07 Thread Rex Fenley via lldb-dev
ldb scripts we >> write. >> >> On Fri, Oct 7, 2016 at 10:45 AM, Enrico Granata <egran...@apple.com> w >> rote: >> >>> I am gonna echo Kate's question, but delve one level deeper >>> >>> Why do you want to send commands to LLDB from a different pr

[lldb-dev] Connecting to lldb-rpc-server

2016-10-06 Thread Rex Fenley via lldb-dev
Hi! I'm trying to connect to Xcode's lldb rpc server but I'm having trouble. This doesn't seem to work to list the hosts. rpcinfo -p lldb-rpc-server Can't contact rpcbind on lldb-rpc-server rpcinfo: RPC: Unknown host Am I doing this correctly? -- Rex Fenley | IOS DEVELOPER Remind.com

Re: [lldb-dev] --top-level doesn't work in lldb for Objective-C or Swift :(

2016-10-05 Thread Rex Fenley via lldb-dev
mic strings: > > > > (lldb) expr --top-level -- NSString *string = [NSString > stringWithUTF8String: "This is a string"]; > > (lldb) expr string > > (__NSCFString *) $0 = 0x0001002001b0 @"This is a string" > > > > Please file a bug

[lldb-dev] --top-level doesn't work in lldb for Objective-C or Swift :(

2016-10-04 Thread Rex Fenley via lldb-dev
Hey lldb team! I'm trying to use `expr --top-level` from lldb in Xcode but it throws errors like the following: (lldb) expression --top-level -- NSString *str = @"This is a string"; Error [IRForTarget]: Couldn't replace an Objective-C constant string with a dynamic string error: cannot import

Re: [lldb-dev] --top-level doesn't work in lldb for Objective-C or Swift :(

2016-10-05 Thread Rex Fenley via lldb-dev
quot;repl" uses into expr? On Wed, Oct 5, 2016 at 11:29 AM, Kate Stone <k8st...@apple.com> wrote: > On Oct 5, 2016, at 10:14 AM, Rex Fenley via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > > Maybe I have that incorrectly, this does seem to work when using lldb from

Re: [lldb-dev] --top-level doesn't work in lldb for Objective-C or Swift :(

2016-10-05 Thread Rex Fenley via lldb-dev
ng "$" > and still have variables and data-structures globally accessible? I notice > that within "repl" "$" it's not necessary to use any "$" variables, is > there a way to elevate the logic "repl" uses into expr? > > > > On Wed