sakhnik / nvim-gdb

Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB
723 stars 39 forks source link

[Question] unable to run lldb on Mac #203

Closed qlibp closed 1 year ago

qlibp commented 1 year ago

What are the steps to reproduce this issue?

  1. macOS, vim v0.8.3, nvim-gdb, using lldb
  2. nvim-gdb commit hash: c8feb2dbcc98164f947a10230825360c5c936d68
  3. launching GdbStartlldb with a hello world c++ executable, compiled with g++

What happens?

Terminal ouput Process exit 1, therefore I have no way to add breakpoints to rerun it again. nvimgdb.log

Any other comments?

Just want to know what am I doing wrong. Thx

sakhnik commented 1 year ago

I guess you need to launch with lldb in the command line: :GdbStartLLDB lldb ./test

qlibp commented 1 year ago

Holy... You're totally correct! Thx for help!