V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
wunsch0106
V2EX  ›  C

求助, 有没有大佬知道 m1 macbook 上怎么 在在 vscode 上 debug c?

  •  
  •   wunsch0106 · 2021-03-03 15:54:56 +08:00 · 1754 次点击
    这是一个创建于 1121 天前的主题,其中的信息可能已经有所发展或是发生改变。

    参考了 https://github.com/vadimcn/vscode-lldb/issues/397 但是我这始终报错 ERROR: Unable to start debugging. Unexpected LLDB output from command "-exec-run". process exited with status -1 (attach failed ((os/kern) invalid argument))

    希望有个老哥能帮忙解答一下

    4 条回复    2021-03-04 15:03:36 +08:00
    wunsch0106
        1
    wunsch0106  
    OP
       2021-03-03 15:56:07 +08:00
    在 vscode 上
    commoccoom
        2
    commoccoom  
       2021-03-04 13:30:52 +08:00
    @wunsch0106 还是用 VS2019 吧 vscode 不方便
    wunsch0106
        3
    wunsch0106  
    OP
       2021-03-04 14:35:44 +08:00
    @commoccoom Visual Studio m1 的 mac 能调试吗 ? 唉 之前没写过 c 现在工作需要 m1 作为开发机问题确实还是多了。
    commoccoom
        4
    commoccoom  
       2021-03-04 15:03:36 +08:00
    @wunsch0106 不知道 Visual Studio for Mac 对 m1 平台有没有优化,我没有 Mac 电脑,但是 Visual Studio 本身就能调试,只有设置好断点就行了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1676 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 00:00 · PVG 08:00 · LAX 17:00 · JFK 20:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.