简体   繁体   中英

how can I debug exe with soem switch flags from command prompt

for eg 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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM