c ++的调试器在Mac上使用eclipse [英] debugger for c++ using eclipse on mac

查看:292
本文介绍了c ++的调试器在Mac上使用eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经尝试谷歌寻求帮助,但没有答案有效我



所以,我需要一个人帮助我安装和使用eclipse上的调试器c \c ++。



我已经安装了Xcode 5.0。



感谢您的帮助



Roy

解决方案

您有几个选项:


  1. 安装GDB MacPorts或Homebrew,如 trojanfoe Charles Chow 所述。

  2. 从LLDB团队使用LLDB-MI;请注意,LLDB-MI不会在OS X上附带本机LLDB,这意味着您必须使用自己的LLDB构建自己的选项来切换功能。

  3. 使用第三方 LLDB-MI2 (见页面,为什么他需要另一台机器接口)



    1. 所有这三个选项都需要大量的配置,容易出错。我想你可能希望在OS X上更喜欢Eclipse到Xcode时考虑两次。


      After I finally setup my mac to work with eclipse, I can't debug.

      I've tried to google for help but non of the answers worked for me.

      so, I need someone to help me install and use a debugger on eclipse for c\c++.

      I have Xcode 5.0 installed.

      Thanks for your help

      Roy

      解决方案

      You have got several options:

      1. Install GDB with MacPorts or Homebrew, as mentioned by trojanfoe and Charles Chow.
      2. Use LLDB-MI from LLDB team; note that LLDB-MI does not come with the native LLDB on OS X, meaning you have to build LLDB your own with options to switch on the feature.
      3. Use third-party LLDB-MI2 (see the page for reasons why he needs another Machine Interface)

      All of these three options require a lot of configuration and are error-prone. I guess you may want to think twice when you prefer Eclipse to Xcode on OS X.

      这篇关于c ++的调试器在Mac上使用eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆