lldb GUI interface

Hi,

I would like to provide a UI for LLDB as a CodeLite IDE plugin similar to how CodeLite is supporting gdb.

For gdb, I used GDB MI (Machine Interface) which works pretty good (especially when it comes to variable objects) http://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html

Is there anything equivalent with lldb?
What are your recommendations when it comes to write a UI around lldb? should I simply execute the lldb executable from within CodeLite and communicate using stdin/stdout?
Is there a library I can link against? (if so, where is the tutorial?)

Thanks,

Is there anything equivalent with lldb?

LLDB provides a C++ API that you can use. Have a look in the 'examples' folder in the source code.

Regards,
Abid

Thanks for the reply. I already got one from Jason Molenda ( just noticed it was sent only to me and not to the entire mailing list )

I will look in the ‘examples’ folder.

Another question: are there any plans on supporting Windows? I was not able to build lldb on Windows ( using CMake + gcc 4.7.1 (MinGW-TDM) )

Since CodeLite is a cross platform IDE, I would really love to make lldb available on all OSs (CodeLite is already linking against llvm/clang for better code completion)

Thanks,

The C++ API is definitely the way to go if you are going to integrate this into a plug-in.

Thanks for the reply. I already got one from Jason Molenda ( just noticed it was sent only to me and not to the entire mailing list )

I will look in the 'examples' folder.

Another question: are there any plans on supporting Windows? I was not able to build lldb on Windows ( using CMake + gcc 4.7.1 (MinGW-TDM) )

I believe it works if you compile it with VS2012 or VS2013.

It will be able to debug the remote targets, but native windows debugging isn't supported unless you are running things generated by clang, gcc or other open source compilers. Microsoft has a proprietary PDB format that contains the debug info that would be hard to support since there are no documents that describe it (none that I know of).

Since CodeLite is a cross platform IDE, I would really love to make lldb available on all OSs (CodeLite is already linking against llvm/clang for better code completion)

That would be great! Let us know how we can help you make this happen.

The C++ API is definitely the way to go if you are going to integrate this
into a plug-in.

> Thanks for the reply. I already got one from Jason Molenda ( just
noticed it was sent only to me and not to the entire mailing list )
>
> I will look in the 'examples' folder.
>
> Another question: are there any plans on supporting Windows? I was not
able to build lldb on Windows ( using CMake + gcc 4.7.1 (MinGW-TDM) )

I believe it works if you compile it with VS2012 or VS2013.

Too bad codelite is compiled with MinGW under Winodws

Since I am aiming on using lldb as library and not as standalone
executable, this will probably won't help me