【发布时间】:2017-12-12 22:04:19
【问题描述】:
我已经阅读了guide,据我了解,我应该能够将launch.json 中的type 设置为cppvsdbg,但这显示为灰色,我猜这表明一些什么样的错误?然后,当我实际单击调试时,我收到此错误:
Unable to start debugging.
Launch options string provided by the project system is invalid.
Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.
但是,当我实际将 MIDebuggerPath 选项设置为 cdb.exe 时,它告诉我:
property MIDebuggerPath: is not allowed
这里是我正在使用的扩展,以防这里发生任何可能的冲突:
【问题讨论】:
-
Do not post images of code or errors! 图片和屏幕截图可以很好地添加到帖子中,但请确保帖子在没有它们的情况下仍然清晰有用。如果您发布代码或错误消息的图像,请确保您还复制并粘贴或直接在帖子中输入实际代码/消息。
标签: c++ cmake visual-studio-code visual-studio-2017