Closed cridemichel closed 7 months ago
As suggested in the discussion https://github.com/vadimcn/codelldb/discussions/456#discussioncomment-874122, by deleting the file "debugserver", i.e. from the vimspector directory (.vim/plugged/vimspector) by doing:
❯ rm gadgets/macos/CodeLLDB/lldb/bin/debugserver
the issue is fixed!
best C.
Known issue with codelldb builds, nothing I can do about that.
Description
If I start to debub an executable I always get "Process exited with code -1."
Is it reproducible in vim?
Reproducible in Vim
Works with clean config?
Yes
Sample project works?
Not reproducible with sample project
Minimal Reproduction
List of steps to reproduce:
vim ---clean Nu /path/to/vimspector/support/minimal_vimrc
where "minimal_vimrc" isNote that if I debug the program by launching lldb from terminal, it works fine.
see also related discussion https://github.com/vadimcn/codelldb/discussions/456#discussioncomment-874122
Expected Behaviour
I can debug the program
Actual Behaviour
I can not debug the program
Additional information
I am using macos Sonoma 14.3.1 with vim from homebrew
Installation Type
Plugin Manager (git clone)
Vimspector version
7c0a89d9a91b7b3ece1db15661d85f372bbc9add
Debug Info
Log file
Vim version
Python version
3.12.2 (main, Feb 6 2024, 20:19:44) [ Clang 15.0.0 (clang-1500.1.0.2.5) ]
Neovim diagnostics
No response
Operating System
Darwin MacBook-Pro-10.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64
Declaration