DrSergei wrote:

Seems `lldb-dap` doesn't crash immediately, but doesn't work as expected

21.1.8
```
PS D:\llvm-project\build-nopython-release-md-old\bin> ./lldb-dap.exe --version  
      
lldb-dap: LLVM (http://llvm.org/):
  LLVM version 21.1.8
  Optimized build.
liblldb: lldb version 21.1.8 ([email protected]:llvm/llvm-project.git revision 
2078da43e25a4623cab2d0d60decddf709aaea28)
  clang revision 2078da43e25a4623cab2d0d60decddf709aaea28
  llvm revision 2078da43e25a4623cab2d0d60decddf709aaea28
PS D:\llvm-project\build-nopython-release-md-old\bin> ./lldb-dap.exe          

DAP session error: expected 'Content-Length: ' and got '
'
```

22.x + this patch
```
PS D:\llvm-project\build-nopython-debug\bin> ./lldb-dap.exe --version
lldb-dap: LLVM (http://llvm.org/):
  LLVM version 22.1.0-rc2
  DEBUG build with assertions.
liblldb: lldb version 22.1.0-rc2 ([email protected]:llvm/llvm-project.git 
revision a47b42eb9f9b302167b4fc413e6c92798d65dd0b)
  clang revision a47b42eb9f9b302167b4fc413e6c92798d65dd0b
  llvm revision a47b42eb9f9b302167b4fc413e6c92798d65dd0b
PS D:\llvm-project\build-nopython-debug\bin> ./lldb-dap.exe          


DAP session error: DAP Loop terminated due to an internal error, see DAP Logs 
for more information.
```

https://github.com/llvm/llvm-project/pull/178409
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to