Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to set environment variables for debuggee #208

Open
jalfd opened this issue Jul 19, 2024 · 1 comment
Open

Impossible to set environment variables for debuggee #208

jalfd opened this issue Jul 19, 2024 · 1 comment

Comments

@jalfd
Copy link

jalfd commented Jul 19, 2024

Perhaps I'm just missing something obvious but there doesn't seem to be a good/easy/reliable way to run a process under windbgx with a specific environment set.

It appears that environment variables I set in the terminal before launching windbx do not actually get carried forward to the debuggee when I launch that from within Windbg. Perhaps this is because windbgx is a store application with its own weird behavior?

There's also no UI under "Launch Executable" for specifying environment variables.

This feels like such a common use case that I'm wondering if I'm missing a trick. In either case, not exposing this functionality in the UI feels like an omission

@lzybkr
Copy link
Collaborator

lzybkr commented Aug 9, 2024

Agreed, inheriting environment variables should work, but we should also have UI to set them when launching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants