0

I have a solution in visual studio that I am trying to debug. In normal applications, I always run it via the executable through command line

Stereo-Vision arg1 arg2 arg3 arg4 arg5

If I want to debug while observing variables through the watch window etc, is the only possible way to do this is to set the arguments in Configuration Properties -> Debugging -> Command Arguments then to run the program inside of visual studio ?

2
  • 1
    yes. Or hard wire in code.... Commented Dec 18, 2016 at 8:51
  • @ kong, could you get useful information from my reply? Commented Dec 26, 2016 at 10:20

1 Answer 1

1

I agree with Mitch Wheat's suggestion, if you want to debug the app using the command line Parameters and view the variables using the debugging windows. We just could set the command line parameters in the project property.

If you don't have to use the command line parameters, for example, read the value from a file or without modify the app code, and then debug it using the VS IDE, it would have other workarounds like creating the unit tests project or read the value from files using the StreamReader class or others.

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

Comments

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.