简体   繁体   English

如何在命令提示符下使用soem开关标志调试exe

[英]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.

相关问题 如何从.bat文件在命令提示符下运行此命令? - How can I run this command in command prompt from a .bat file? 使用命令提示符,如何获取chrome exe的安装路径? - Using command prompt , How can I get the path where chrome exe is installed? 如何从管理命令提示符启动我的exe文件 - How to initiate my exe file from administrative command prompt 如何使命令提示符挂起? - How Can I Make A Command Prompt Hang? 如何使用for命令从文本文件捕获数据并将其设置为变量(Windows命令提示符) - How can i capture data using the for command from a text file and set it as a variable (windows command prompt) 从命令提示符使用 PowerShell 命令运行 schtasks.exe - Run schtasks.exe with PowerShell command from command prompt 如何将参数从 Windows 命令提示符传递到 Kitchen.bat (Pentaho)? - How can I pass parameters from Windows command prompt to Kitchen.bat (Pentaho)? 我想从.bat文件运行第3方.exe文件而没有可见的命令提示符 - I want to run a 3rd party .exe file from a .bat file without a visible command prompt 如何从Windows命令提示符处将PowerShell脚本作为特定用户调用? - How can I call a PowerShell script as a particular user from the Windows command prompt? 如何在命令提示符下查看我的SYSTEM环境变量? - How can I view my SYSTEM environment variables in a command prompt?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM