Thursday, January 11, 2018

Re: Is there anything like Termdebug for lldb?

On 09/01/2018 14:09, Bram Moolenaar wrote:
>
> Lifepillar wrote:
>
>> The Termdebug plugin in Vim is a lovely feature. Is there anything
>> comparable for lldb?
>
> If lldb supports a way to communicate with it, it should be possible to
> make it work.
>

I believe that there should be, as lldb can be used, e.g., within Xcode,
but I am not familiar with anything like gdb/mi for lldb (there is an
lldb-mi executable: maybe someone else can comment on it, as I haven't
used it).

Besides, in principle it should be possible to do something like:

$ lldb ./vim
(lldb) process launch --tty=/dev/ttys006

But, according to this page:

https://lldb.llvm.org/lldb-gdb.html

--tty is supported only in Mac OS X. In macOS High Sierra, however, that
option does not accept an argument:

(lldb) process launch --tty=/dev/ttys006
lldb: option `--tty' doesn't allow an argument

At least in macOS, one can do `process launch --tty`, which runs the
program in a new (host) terminal window.

Life.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: