Define multiple environment variables for debugging in Visual C ++
I want to debug a program in Visual C ++ that depends on two environment variables.
I know how to define one variable (Properties -> Configuration Properties -> Debug -> Environment), but I am having trouble defining two variables. I tried to separate them \
and |
, but it didn't work.
+3
source to share
1 answer
My VS Express 2012 has a down arrow which when you click on it shows an alternative <Edit...>
. If you select it, you get a dialog box with an input text box. This text entry allows multiple lines. Just define one variable per line.
Note that this will look odd in a single line text box in the project properties dialog.
+4
source to share