[Lldb-commits] vim-lldb patches

Malea, Daniel daniel.malea at intel.com
Thu May 23 08:14:32 PDT 2013

Hi Arthur, thanks for the new functionality; I will try it out today and
let you know how it goes!

Do you mind also adding a few words in utils/vim-lldb/doc/lldb.txt for the
new commands? I like to keep the help page in sync :)


On 2013-05-22 6:57 PM, "Arthur Evstifeev" <ap4y at me.com> wrote:

>Hi Daniel,
>Thanks for the response and accepting patches. I have implemented couple
>small additions that we discussed:
>1. Added new :Lpo command
>2. :Lpo and :Lprint can be invoked without parameters. In that case
>cursor word will be used
>3. Added :LpO command in that case instead of <cword> will be used
>stripped <cWORD>. This command is useful for printing objective-c
>properties (for ex.: self.tableView). I think alternative :Lprint
>command with cWORD will be useful too (for structs and cpp accessors),
>but couldn't come up with meaningful alias.
>Thanks again!
>On 05/22, Malea, Daniel wrote:
>> Sweet! I'm glad it's working out for you. I committed your improvements
>> 182483 and 182484!
>> I'm not too familiar with Objective-C but anything that helps out with
>> that is that is welcome. Are you thinking of adding a ":Lpo" option?
>> As for the :Lprint under cursor thing, I've been meaning to implement
>> something like that myself but have not gotten around to it. If you have
>> improvements, please send patches and I will commit post haste!
>> Cheers,
>> Dan
>> On 2013-05-21 10:47 PM, "Arthur Evstifeev" <ap4y at me.com> wrote:
>> >Hi Daniel,
>> >
>> >Thanks for the lldb plugin, this plugin is so helpful for me. I
>> >have missed couple function though, so I implemented them and want to
>> >contribute them.
>> >
>> >I'm using this plugin for iOS development. Since such apps only work
>> >under simulator process, current target-centric plugin architecture
>> >doesn't fit well. I added attach and detach operations, that
>> >don't require target instance (empty target will be created during
>> >attach). 
>> >
>> >Also I found myself several time in situation when I wanted to close
>> >plugin panes, but it's really hard to restore them all at once. So I
>> >allowed to invoke Lshow without parameters. In that case all panes will
>> >be restored.
>> >
>> >I wanted to ask what do you think about adding additional objective-c
>> >specific printing command ("po", which is alias to "expression -o")?
>> >is
>> >a most used command for objective-c developers. Also I found very
>> >useful macro for :Lprint word under cursor. What do you think about
>> >additions? I can send patches for this operations too.
>> >
>> >Thanks,
>> >Arthur

More information about the lldb-commits mailing list