You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codelldb supports cargo and drops the requirement for a program keyword in the launch.json. However, when I load in my launch.json and try to run it using the codelldb adaptor, I get a error saying that program is required. I'm guessing this is an additional feature needed on nvim-dap's side?
For reference, I'm trying to debug tests in this repo. The following launch.json works in vscode:
I get the error Error on launch: "program" property is required for launch.
Note: I don't believe that this a codelldb adapter configuration issue--I'm configuring it with the adapter helper function from rust-tools. Debugging works great when I hardcode in program to the absolute path to the compiled test. It's just when I load_launchjs with a cargo attribute instead of a program, I get errors.
Possible Solutions
Not sure, probably add a hook/some logic to perform the translation in the load_launchjs function. I'm still working on familiarizing myself with this codebase. I'm planning to dig into this more, but just wanted to sanity check that I'm not missing something major before diving in.
Considered Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem Statement
Codelldb supports cargo and drops the requirement for a
program
keyword in thelaunch.json
. However, when I load in mylaunch.json
and try to run it using the codelldb adaptor, I get a error saying thatprogram
is required. I'm guessing this is an additional feature needed on nvim-dap's side?For reference, I'm trying to debug tests in this repo. The following
launch.json
works in vscode:But when I load it into neovim with:
I get the error
Error on launch: "program" property is required for launch
.Note: I don't believe that this a codelldb adapter configuration issue--I'm configuring it with the adapter helper function from rust-tools. Debugging works great when I hardcode in
program
to the absolute path to the compiled test. It's just when Iload_launchjs
with acargo
attribute instead of aprogram
, I get errors.Possible Solutions
Not sure, probably add a hook/some logic to perform the translation in the
load_launchjs
function. I'm still working on familiarizing myself with this codebase. I'm planning to dig into this more, but just wanted to sanity check that I'm not missing something major before diving in.Considered Alternatives
No response
The text was updated successfully, but these errors were encountered: