views:

348

answers:

3

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.

+3  A: 

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.

bkane
A: 

This, of course, depends on your debugger. Can you elaborate?

William Keller
+1  A: 

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.

Prache