how can I debug exe with soem switch flags from command prompt
-
01-07-2019 - |
Question
for e.g from command prompt I need to launch the exe with some switch flags under debugger. How do I do it?
This is an exe from c/c++ and built using VS2005 environment that I need debug. I pass some flags to this exe to perform some stuff.
Solution
You'll need to give more information about your development environment to get a specific answer.
For example, with a C# project in Visual Studio, you can right-click the project->Properties and then fill out the "Command line arguments" field in the "Debug" tab.
OTHER TIPS
I think I have it worked. Right click on the project->Properties and then fill out the "Command line arguments" field in the "Debug" tab. bkane solution worked. thx.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow