Link to home
Start Free TrialLog in
Avatar of yeshengl
yeshenglFlag for United States of America

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?
Avatar of Axter
Axter
Flag of United States of America image

When you open the executable, the dialog window has a field for Arguments.
ASKER CERTIFIED SOLUTION
Avatar of Axter
Axter
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial