Prache
Prache

Reputation: 543

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

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.

Upvotes: 1

Views: 588

Answers (2)

Prache
Prache

Reputation: 543

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.

Upvotes: 1

bkane
bkane

Reputation: 969

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.

Upvotes: 3

Related Questions