Skip to content

dap-compilation seems fail to execute #726

@zhyzky

Description

@zhyzky

When using dap-debug, with template containning dap-compilation, first execute

        (dap-debug-run-task `(:cwd ,(or (plist-get launch-args :dap-compilation-dir)
                                         (lsp-workspace-root)
                                         default-directory)
                               :command ,dap-compilation
                               :label ,(truncate-string-to-width dap-compilation 20)) cb)

then in function call to dap-debug-run-task, there are some codes

        let* ((task (if (listp tasks)
                     (car tasks)
                   tasks)))

with task value becomes :cwd, which seems not the expected result, and breaks the dap-compilation run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions