Avatar of yeshengl
yeshengl
Flag 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?
Microsoft DevelopmentC++

Avatar of undefined
Last Comment
Axter

8/22/2022 - Mon
Axter

When you open the executable, the dialog window has a field for Arguments.
ASKER CERTIFIED SOLUTION
Axter

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy