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

fix for #510: server log buffer not keeping env. variables for reexecution #511

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dudinea
Copy link

@dudinea dudinea commented Sep 23, 2021

Fixes #510

Change dap-start-debugging-noexpand to use the compilation-environment
variable instead of using setenv and process-environment directly.

In contrast to process-environment the compilation-environment
variable is saved as buffer-local by compilation-start and thus
it's value is kept for reexecution by the recompile command.

Change 'dap-start-debugging-noexpand' to use the 'compilation-environment'
variable instead of using 'setenv' and 'process-environment' directly.
In contrast to 'process-environment' the 'compilation-environment'
variable is saved as buffer-local by 'compilation-start' and thus
it's value is kept for reexecution by the 'recompile' command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant