Skip to content

Fix 726 improve dap compilation #840

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Ndot
Copy link

@Ndot Ndot commented Mar 31, 2025

Fixes issue #726

There were some bugs in the way the TASKS were being check. It also set the hook for compilation-start after the functions was already called and banked on the fact that the command took long enough for us to set the hook, which seem like a strange thing to do.

Also added two options:

  • dap-debug-compilation-keep-buffer to allow deleting the buffer on success.
  • dap-debug-compilation-same-buffer to allow the commands to run on the same buffer without clearing the buffer.

Ndot added 3 commits March 31, 2025 04:13
Fixes the way the task or list of tasks were being checked.
Creates a hook function for 'compilation-finish-functions' and adds the
hook before calling 'compilation-start'.
Changes 'dap-debug-compilation-keep' variable name to a more
descriptive name.
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

Successfully merging this pull request may close these issues.

1 participant