Skip to content

Commit 9357d90

Browse files
committed
Fix passing long environment variables to de debugger
Increase the command buffer size x10 to support passing long environment variables. This is required in projects like GStreamer requiring to setup env variables like GST_PLUGIN_PATH with several directories in order to be able to debug without having to install into a prefix, which takes a long time and slows down the development cycle. microsoft/vscode-cpptools#8411 microsoft/vscode-cpptools#6874
1 parent f2acb1f commit 9357d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MICmnStreamStdin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ class CMICmnStreamStdin : public CMICmnBase,
5555
CMIUtilString m_strPromptCurrent; // Command line prompt as shown to the user
5656
bool m_bShowPrompt; // True = Yes prompt is shown/output to the user (stdout),
5757
// false = no prompt
58-
static const int m_constBufferSize = 2048;
58+
static const int m_constBufferSize = 20480;
5959
char *m_pCmdBuffer;
6060
};

0 commit comments

Comments
 (0)