[lldb-dev] lldb: how can I make it reliably scriptable?

Enrico Granata egranata at apple.com
Wed Feb 18 11:52:05 PST 2015


The way I usually do things is 

$ xcodebuild -scheme lldb-tool -configuration Debug

Your mileage may vary depending on your OS X/Xcode version (sometimes Xcode needs to have the license approved and to be authorized to do developer-y things the first time through, and there is a magic command-line incantation to do that without UI access but I can’t recall it)

> On Feb 18, 2015, at 11:09 AM, Paul Smith <paul at mad-scientist.net> wrote:
> 
> On Mon, 2015-02-16 at 14:56 -0800, Enrico Granata wrote:
>> a) is there any chance you can compile LLDB from sources and use that
>> debugger to perform your automation?
>> 
> Is there any way to build the latest LLDB on OSX from the command line?
> I don't have an OSX system in front of me, I just ssh into one of the
> Mac systems in our build/test rack.  The build instructions seem to
> assume I have a full graphical Xcode available.
> 
> Is there an xcodebuild invocation I can use from the CLI to build LLDB,
> instead?  I tried a few things but wasn't successful (I'm no guru when
> it comes to Xcode, in any form).
> 
> Cheers!
> 

Thanks,
- Enrico
📩 egranata@.com ☎️ 27683




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150218/875d7cb9/attachment.html>


More information about the lldb-dev mailing list