-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fix passing long environment variables to the debugger #87
Conversation
9357d90
to
3f3c22b
Compare
3f3c22b
to
b82a491
Compare
You might want to update PR description because that's not what the code does any more. Much better to use std::string than hardcoding a size indeed. |
Replace the command buffer with a std::string to support reading arbitrary command line lengths. This is required in projects like GStreamer that setup long environment variables like GST_PLUGIN_PATH with several directories on it. microsoft/vscode-cpptools#8411 microsoft/vscode-cpptools#6874
b82a491
to
5662dd1
Compare
Any other opinions? If not, I think we can merge it :) |
If there are no new opinions, I will merge this PR next week. Thank you all! |
@sunshaoce thanks for merging this. This PR was created with the following original problem microsoft/vscode-cpptools#6874. What is needed for vscode to use a version of lldb-mi with this new patch? |
Maybe you can PING them. |
This is handed here: microsoft/vscode-cpptools#11566 |
Replace the command buffer with a std::string to support reading arbitrary command line lengths. This is required in projects like GStreamer that sets long environment variables like GST_PLUGIN_PATH with several directory paths on it.
microsoft/vscode-cpptools#8411
microsoft/vscode-cpptools#6874