Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-05 Thread Jason Molenda via lldb-dev
> On Jan 5, 2016, at 10:17 AM, Greg Clayton via lldb-dev > wrote: > > >> So how about: >> >> (lldb) run >> error: developer mode not enabled > > We should be able to do this. The main issue is detecting that the user is in > a remote scenario where they don't have access to the UI. A dialog

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-05 Thread Greg Clayton via lldb-dev
> On Jan 5, 2016, at 1:11 AM, Andre Vergison > wrote: > > Greg, I owe you a Bud (or fruit juice if you prefer) !! > > That's all I had to do... Now it works like a charm! > > tst$ sudo /usr/sbin/DevToolsSecurity --enable > Developer mode is now enabled. > tst$ lldb testabc > (lldb) target cre

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-05 Thread Andre Vergison via lldb-dev
ssage- From: Greg Clayton [mailto:gclay...@apple.com] Sent: maandag 4 januari 2016 20:23 To: Andre Vergison Cc: lldb-dev@lists.llvm.org Subject: Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan) If you ssh in you must enable developer mode one time per boot: sudo /usr/sbin/DevTools

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2016-01-04 Thread Greg Clayton via lldb-dev
If you ssh in you must enable developer mode one time per boot: sudo /usr/sbin/DevToolsSecurity --enable Then you should be able to debug. If you don't, it will popup a dialog box on the remote system that attempts to get authorization, but you will never see that in your SSH window... Let me

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2015-12-29 Thread Jason Molenda via lldb-dev
ried this: > > tst$ export DEBUGSERVER_USE_FROM_SYSTEM=1 > tst$ set|grep DEBUG > DEBUGSERVER_USE_FROM_SYSTEM=1 > > This doesn’t seem to help. > > > I'm not sure if you already did this, but you may need to turn on your dev > > tools security via: > sud

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2015-12-29 Thread Andre Vergison via lldb-dev
From: Todd Fiala [mailto:todd.fi...@gmail.com] Sent: maandag 28 december 2015 19:19 To: Andre Vergison Cc: lldb-dev@lists.llvm.org Subject: Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan) Hi Andre, On Sat, Dec 26, 2015 at 3:53 AM, Andre Vergison via l

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2015-12-29 Thread Jason Molenda via lldb-dev
> On Dec 26, 2015, at 3:53 AM, Andre Vergison via lldb-dev > wrote: > > I tried the above because in fact I had a process which a segmentation fault > 11, here’s what lldb makes out of the core dump: > > txt$ lldb /cores/core.33158 > (lldb) target create "/cores/core.33158" > warning: (x86_

Re: [lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2015-12-28 Thread Todd Fiala via lldb-dev
Hi Andre, On Sat, Dec 26, 2015 at 3:53 AM, Andre Vergison via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hi, > > I tried Jason Molenda’s test code on El Capitan, lldb-340.4.119 (Jason > Molenda via lldb-dev | 3 Oct 02:59 2015). > > I’m connected to a remote VM using ssh. > > > > tst$ echo 'int

[lldb-dev] lldb 340.4.119 unable to attach (El Capitan)

2015-12-26 Thread Andre Vergison via lldb-dev
Hi, I tried Jason Molenda’s test code on El Capitan, lldb-340.4.119 (Jason Molenda via lldb-dev | 3 Oct 02:59 2015). I’m connected to a remote VM using ssh. tst$ echo 'int main () { }' > /tmp/a.c tst$ xcrun clang /tmp/a.c -o /tmp/a.out tst$ xcrun lldb /tmp/a.out (lldb) target create "/tmp/a.out"