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 problems defining two variables.
I have tried to separate them with \
and |
, but it didn't work.
In my VS Express 2012, there's a down arrow that when you click on it shows the alternative <Edit...>
. If you select it you will get a dialog with a text entry box. This text entry allows multiple lines. Simply define one variable per line.
Note that it will look weird in the single-line text box in the project property dialog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With