wunsch0106
V2EX  ›  C

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

  •  
  •   wunsch0106 · Mar 3, 2021 · 3471 views
    This topic created in 2081 days ago, the information mentioned may be changed or developed.

    参考了 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 replies  •  2021-03-04 15:03:36 +08:00
    wunsch0106
    wunsch0106
    OP
    Mar 3, 2021
    1
    在 vscode 上
    commoccoom
    commoccoom
    Mar 4, 2021
    2
    @wunsch0106 还是用 VS2019 吧 vscode 不方便
    wunsch0106
    wunsch0106
    OP
    Mar 4, 2021
    3
    @commoccoom Visual Studio m1 的 mac 能调试吗 ? 唉 之前没写过 c 现在工作需要 m1 作为开发机问题确实还是多了。
    commoccoom
    commoccoom
    Mar 4, 2021
    4
    @wunsch0106 不知道 Visual Studio for Mac 对 m1 平台有没有优化,我没有 Mac 电脑,但是 Visual Studio 本身就能调试,只有设置好断点就行了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2093 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:11 · PVG 20:11 · LAX 04:11 · JFK 07:11
    ♥ Do have faith in what you're doing.