-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
Debug adapter definition and debug configuration
Nvim version:
NVIM v0.9.0-dev-41-gf7b175e04
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Adapters installed via Mason:
◍ java-debug-adapter
The debug server implementation for Java. It conforms to the debugger adapter protocol.
installed version 0.45.0
homepage https://github.com/microsoft/java-debug
languages Java
categories DAP
◍ java-test
The Test Runner for Java works with java-debug-adapter to provide the following features:
- Run/Debug test cases
- Customize test configurations
- View test report
- View tests in Test Explorer
Enables support for the following test frameworks:
- JUnit 4 (v4.8.0+)
- JUnit 5 (v5.1.0+)
- TestNG (v6.8.0+)
installed version 0.37.1
homepage https://github.com/microsoft/vscode-java-test
languages Java
categories DAP
◍ node-debug2-adapter
A debug adapter that supports debugging Node via the Chrome Debugging Protocol. No longer maintained.
installed version v1.43.0
homepage https://github.com/microsoft/vscode-node-debug2
languages JavaScript, TypeScript
categories DAP
executables node-debug2-adapter
Jdtls debug configuration managed via nvim-jdtls plguin.
Debug adapter version
No response
Steps to Reproduce
- Open a Java project
- Open a test class
- Wait for jdtls service to be ready
- Move the cursor to a test method
- Run:
:lua require'jdtls'.test_nearest_method()
Expected Result
A new dap session should start running nearest java test method.
Actual Result
Session start fails:
Error executing vim.schedule lua callback: ...rvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:265: Vim(append):E5248: Invalid character in group name
stack traceback:
[C]: in function 'nvim_buf_set_name'
...rvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:265: in function 'handler'
...rvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:900: in function 'handle_body'
...rvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:1076: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Metadata
Metadata
Assignees
Labels
No labels