8

I want to debug a program in Visual C++ that depends on two environment variables.

I know how to define one variable (PropertiesConfiguration PropertiesDebugEnvironment), but I am having problems defining two variables. I have tried to separate them with \ and |, but it didn't work.

1 Answer 1

9

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.

Sign up to request clarification or add additional context in comments.

1 Comment

This does NOT work in the German version of VS2010. This is an unfixed Microsoft bug - see connect.microsoft.com/VisualStudio/feedback/details/727324/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.