Giter Club home page Giter Club logo

lldbmi2's Introduction

LLDBMI2

A simple MI interface to LLDB.

Context

Since Apple has withdrawn its support for GDB. The options to debug an application with CDT on Mac OS X are:

  1. Use Xcode:
  • Natural for Mac OS X, but limited for sharing projects or cross compiling on Linux or Windows.
  • Not adequate for multi language programs (eg: C with Java or Perl).
  1. Install GNU GDB:
  • Easy to install from H-mebrew or Macports.
  • Does not support Mac OS X dynamic libraries preventing from debugging code inside these libraries.
  1. Install LLDB-MI:
  • This program is promising, but is not yet mature.
  • With Eclipse, it must be run in a manual remote debugging session implying to open a shell window and start manually a debug server with the program being debugged as argument (if there is a better way, doc do not mention it).
  • The actual version doesn’t display nor update variables correctly.
  • Many error messages with Eclipse (command arguments nor recognized).
  • The code is complex and not easy to debug for a newcomer.

LLDBMI2 is a lightweight alternative to LLDB-MI on Mac OS X. It allows:

  • Debug a local application
  • Attach to a running process.

It should be useful for Mac OS x users until LLDB-MI gets enough maturity or when Eclipse will support directly LLDB.

Limitations

No remote debugging.

No support for Non-stop debugging, Multi-process debugging and Reverse debugging until LLDB support them.

To display arrays of structures, theses structures must be defines with typedef (limitation of DWARF)

lldbmi2's People

Contributors

freedib avatar tarasov65536 avatar eduardmatveev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.