[LLVMdev] eclipse and gdb
Reed Kotler
rkotler at mips.com
Tue Jul 16 17:53:17 PDT 2013
On 07/16/2013 05:21 AM, Tilmann Scheller wrote:
> Hi Reed,
>
> I’ve used Eclipse for a long time to do LLVM development on Linux (both for code navigation/editing and debugging), any recent Linux distribution and version of Eclipse should be fine (even older versions should be good enough as this has been working for many years).
>
> Xcode works fine as well, I started to use Xcode exclusively when I switched to OS X.
>
> The key to make this work is to use CMake to generate project files for Eclipse/Xcode, you can do this by specifying the appropriate generator on the command line e.g. -G Xcode or -G "Eclipse CDT4 - Unix Makefiles”. Then you can just open the generated project file. Mind you, the generated projects are kind of ugly e.g. the Xcode project has like more than 200 targets but apart from that they are working fine.
>
> In terms of key bindings both Eclipse and Xcode ship with Emacs key bindings and there are plugins which allow you to use vim key bindings as well. With Eclipse I’ve been using the Viable plugin for that and for Xcode there is Xvim.
>
> Hope this helps :)
>
> Regards,
>
> Tilmann
Have you had trouble with the C++ indexer getting stuck in some kind of
infinite loop indexing.
It's happening to me with this Cmake (but happened too without cmake).
Seems to be a common problem.
I have a giant mac at home and am thinking of maybe switching to mac at
work to get a reasonable IDE that is reliable.
>
> On Jul 16, 2013, at 1:05 PM, reed kotler <rkotler at mips.com> wrote:
>
>> Is anyone using Eclipse and gdb to debug llvm/clang?
>> If so, which version of Eclipse, gdb and linux flavor.
>>
>> I just use gdb currently.
>>
>> I'm going to try using my mac also.
>> Is anyone using xcode/lldb to debug llvm/clang?
>>
>> Tia.
>>
>> Reed
>>
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list