yeshengl
asked on
windbg set command arguments and environment variable
Hi,
I need to debug a C++ console application through windbg. And I File -> Open Executable to launch the application. But I also need to set up some environment varialbes (e.g. the dos command: set OUTPUT_DIR=c:\test), and command arguments first for the application. How can I do that through windbg?
I need to debug a C++ console application through windbg. And I File -> Open Executable to launch the application. But I also need to set up some environment varialbes (e.g. the dos command: set OUTPUT_DIR=c:\test), and command arguments first for the application. How can I do that through windbg?
When you open the executable, the dialog window has a field for Arguments.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.