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

2021-03-03 15:54:56 +08:00
 wunsch0106

参考了 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))

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

1791 次点击
所在节点    C
4 条回复
wunsch0106
2021-03-03 15:56:07 +08:00
在 vscode 上
commoccoom
2021-03-04 13:30:52 +08:00
@wunsch0106 还是用 VS2019 吧 vscode 不方便
wunsch0106
2021-03-04 14:35:44 +08:00
@commoccoom Visual Studio m1 的 mac 能调试吗 ? 唉 之前没写过 c 现在工作需要 m1 作为开发机问题确实还是多了。
commoccoom
2021-03-04 15:03:36 +08:00
@wunsch0106 不知道 Visual Studio for Mac 对 m1 平台有没有优化,我没有 Mac 电脑,但是 Visual Studio 本身就能调试,只有设置好断点就行了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/758054

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX