Closed WillEhrendreich closed 11 months ago
ok.. so I was just wasting my day.. I see now that I needed to definitely have request="attach" in the config.
BUT it still won't work.
i get this after it initialzes:
Info 2:48:17 PM notify.info {
command = "configurationDone",
message = "Failed command 'configurationDone' : 0x8013134b",
request_seq = 3,
seq = "6",
success = false,
type = "response"
}
Error 2:48:17 PM notify.error DAP Failed command 'configurationDone' : 0x8013134b
What could cause this?
Judging from what you've posted, you've messed up your configuration in some way that I can't guess. I'd need a minimal but complete reproduction that can be used with nvim --clean -u minimal.lua
Converting this to a discussion
Debug adapter definition and debug configuration
using lazyvim, installed via mason.
in an attempt to see what's going on, I simplified the dap util functions and gave them more verbose output, so i knew for sure that the picking wasn't the issue.
Debug adapter version
0.6.0
Steps to Reproduce
it doesn't seem to matter what project im in, or what breakpoints i set.
trying to use the pick process functionality never seems to work.
Expected Result
I expect to pick a process, and that the debugger would connect to that.
Actual Result
I pick a process from the ui that pops up, then it gives this message
filtering for: "Fabload.exe" Info 2:06:14 PM notify.info running sync coroutine process picking 2:06:14 PM msg_show process name?Fabload.exe Select process: 1: id=17528 name=Fabload.exe Type number and or click with the mouse (q or empty cancels):
2:06:16 PM msg_show process name?Fabload.exe 1
Info 2:06:17 PM notify.info result of pick process is..17528
Info 2:06:17 PM notify.info "process picked: 17528"
Info 2:06:17 PM notify.info "NETCOREDBG_ATTACH_PID set to : 17528"
Error 2:06:19 PM msg_show.lua_error Error executing vim.schedule lua callback: table index is nil
stack traceback:
[C]: in function 'rawset'
C:/.local/share/nvim-data/lazy/nvim-dap/lua/dap.lua:103: in function '__index'
C:/.local/share/nvim-data/lazy/nvim-dap/lua/dap/session.lua:974: in function <C:/.local/share/nvim-data/lazy/nvim-dap/lua/dap/session.lua:972>
Warn 2:06:21 PM notify.warn DAP Debug adapter didn't respond. Either the adapter is slow (then wait and ignore this) or there is a problem with your adapter or
coreclr
configuration. Check the logs for errors (:help dap.set_log_level)in the logs:
Seems to complain about there not being a command in this following request?