-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++ extension's Windows debugging does not work #71
Comments
Hi @jingyu9575 👋 I only have a Mac and it seems that the extension works properly there (created hello world program; built it; debugged via VSCodium and it printed Hello World in my terminal). Mac debugging uses I do not think this is a licensing issue. The licensing is confusing to me in the extension repo (https://github.com/Microsoft/vscode-cpptools), but it looks to me like the main license file is MIT, which is not restrictive. The message that you are seeing looks more like the text from another license file in that repo (https://github.com/Microsoft/vscode-cpptools/blob/master/Extension/LICENSE.txt) marked as the license for "PRE-RELASE SOFTWARE". It includes the restriction that the extension can only be used in Microsoft products:
(Visual Studio Code unfortunately being the non-MIT licensed proprietary MS build of the vscode repo). Regardless of licensing, I think the problem might be that some path is hard coded in the extension's Windows-specific code. Next steps would be to try to get more information when it crashes about what specifically is failing -- this might be possible by building the extension from source locally, but I don't see instructions for that in their repo. |
Thank you @stripedpajamas . About the licensing, the Windows debugger is proprietary. I checked the developer console when this issue happens, and it shows this error:
Searching Not sure if we can workaround it here. |
Wow that's really unfortunate. Thank you for digging into the issue there. I don't think there are many paths forward, outside of writing an open source extension from scratch. |
Expected behavior: (tested in MS VSCode)
The program is launched and can be debugged.
Actual behavior in VSCodium:
This message shows, and then nothing happens.
Is this because of the C/C++ extension's licensing? Is there any way around this?
The text was updated successfully, but these errors were encountered: