【问题标题】:Shouldn't Xcode/gdb load the ~/.gdbinit file on launch?Xcode/gdb 不应该在启动时加载 ~/.gdbinit 文件吗?
【发布时间】:2010-10-19 18:15:47
【问题描述】:

我有一个大致基于How do I set these break points in ~/.gdbinit? 的 ~/.gdbinit 文件。据称,gdb 应该在启动时获取 ~/.gdbinit。但是,它没有加载我的 - 我必须在现有断点处停止并输入“source ~/.gdbinit”,然后加载它。有没有办法让 gdb 或 Xcode 自动执行此操作?

【问题讨论】:

    标签: objective-c xcode gdb breakpoints


    【解决方案1】:

    Xcode 可能将 gdb 调用为 gdb -nx ...

    Xcode 中可能有一些设置可以改变它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-05
      • 1970-01-01
      • 1970-01-01
      • 2016-12-08
      相关资源
      最近更新 更多