rust-tools.nvim
rust-tools.nvim copied to clipboard
Debugging problems using Cargo workspaces
When I try to use rust debugging as usual it is working pretty well But When swithc to use cargo workspaces, doesnt work.
I put several breakpoint then debug, it open dapgui and then suddenly closes.
Message on nvim say: Compiling a debug build for debugging. This might take some time...
I tried to open dapgui again by :lua require("dapgui").open()
and codelldb exited with code 101
Example of my dirs:
├── Cargo.lock
├── Cargo.toml
├── add_one
│ ├── Cargo.toml
│ └── src
│ └── lib.rs
├── adder
│ ├── Cargo.toml
│ └── src
│ └── main.rs
└── target
I am trying to debug adder/src/main.rs but target it is not in adder dir, it is one dir back