Monday, January 19, 2009

How to pass command line arguments for debugging

To pass command line arguments for debugging purposes when you are developing your code with Visual Studio 2005, follow the following sequences:
- In Solution Explorer, right click on your project name
- In appeared context menu, click on "Properties"
- In "Properties" window, click on "Debug"
- In "Start Option" part of page, you can find "Command line arguments" text box


The following picture shows passing command line arguments in a C++ project in Visual Studio when you have opened "Properties" windows to access to debugging options:


Share/Bookmark

No comments: