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
java.lang.IllegalStateException: Missing header Content-Length in input "
"
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:91)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.IllegalStateException: Missing header Content-Length in input "
"
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:91)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
This error comes from the port? Is your DAP debugger is working with LSP4IJ?
I suggest that you start with DAP template debugger. For the installation of the DAP debugger, I am working on install feature to describe the tasks to execute to install language server with an installer.json file #1047 Once this PR will be merged it will be easy to do the same thing for DAP debugger.
@CppCXY it is out of the scope pf this issue but if yiu install nighty you shoukd now have the capability to declare how lsp or dap user defined must be installed with an installer.json.
You can try it with the vscode js debugger. You click on crezte new server hyperlink. Select vscode js debug and when you click 9n ok it downloads the dap debugger and update correctly the dap server command. It should work without some manual downlozd znd without some adjustment of the command.
If you provide on npm registre or somewhere in github releases...you could write an installer.json
@CppCXY it is out of the scope pf this issue but if yiu install nighty you shoukd now have the capability to declare how lsp or dap user defined must be installed with an installer.json.
You can try it with the vscode js debugger. You click on crezte new server hyperlink. Select vscode js debug and when you click 9n ok it downloads the dap debugger and update correctly the dap server command. It should work without some manual downlozd znd without some adjustment of the command.
If you provide on npm registre or somewhere in github releases...you could write an installer.json
I'll look into it next month. I'm busy these days.
Activity
angelozerr commentedon May 21, 2025
Thzt is a super news!
Is this port issue is a bproblem for you?
CppCXY commentedon May 21, 2025
It affects my initial implementation, but I've modified it to support number type. This might have an impact on other DAPs
CppCXY commentedon May 21, 2025
I always accept the report:
angelozerr commentedon May 21, 2025
I don't know for the moment how to fix that. Let me investigate the problem.
angelozerr commentedon May 21, 2025
This error comes from the port? Is your DAP debugger is working with LSP4IJ?
CppCXY commentedon May 21, 2025
look work, but I can't see variable info when hover the identifier
angelozerr commentedon May 21, 2025
It is normal, it is not implemented. I don't know how to manage that (I need to study how Java debugger is working).
Any ideas are welcome!
It is super great that your DAP debugger is working. Now you have 2 choices:
I suggest that you start with DAP template debugger. For the installation of the DAP debugger, I am working on install feature to describe the tasks to execute to install language server with an installer.json file #1047 Once this PR will be merged it will be easy to do the same thing for DAP debugger.
angelozerr commentedon May 23, 2025
@CppCXY it is out of the scope pf this issue but if yiu install nighty you shoukd now have the capability to declare how lsp or dap user defined must be installed with an installer.json.
You can try it with the vscode js debugger. You click on crezte new server hyperlink. Select vscode js debug and when you click 9n ok it downloads the dap debugger and update correctly the dap server command. It should work without some manual downlozd znd without some adjustment of the command.
If you provide on npm registre or somewhere in github releases...you could write an installer.json
CppCXY commentedon May 26, 2025
I'll look into it next month. I'm busy these days.
[-]DAP parameter passing[/-][+]Preserve integer in DAP parameters[/+]fix: Preserve integer in DAP parameters
fix: Preserve integer in DAP parameters
angelozerr commentedon May 26, 2025
Once https://github.com/redhat-developer/lsp4ij/actions/runs/15253139759 will be finished, you will able to install nighty which should fix your issue.
fix: Preserve integer in DAP parameters