[英]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. 例如,从命令提示符我需要在调试器下启动带有一些开关标志的exe。 How do I do it?
我该怎么做?
This is an exe from c/c++ and built using VS2005 environment that I need debug. 这是一个来自c / c ++的exe,使用我需要调试的VS2005环境构建。 I pass some flags to this exe to perform some stuff.
我将一些标志传递给这个exe来执行一些操作。
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. 例如,使用Visual Studio中的C#项目,可以右键单击项目 - >属性,然后在“调试”选项卡中填写“命令行参数”字段。
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.
bkane解决方案有效。 thx.
谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.