Skip to content

Commit

Permalink
Fix passing long environment variables to the debugger
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ylatuya committed Nov 23, 2021
1 parent f2acb1f commit 3f3c22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MICmnStreamStdin.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ class CMICmnStreamStdin : public CMICmnBase,
CMIUtilString m_strPromptCurrent; // Command line prompt as shown to the user
bool m_bShowPrompt; // True = Yes prompt is shown/output to the user (stdout),
// false = no prompt
static const int m_constBufferSize = 2048;
static const int m_constBufferSize = 20480;
char *m_pCmdBuffer;
};

0 comments on commit 3f3c22b

Please sign in to comment.