Running GdbStart auto quits on open.
For reference, this is the command I am running:
:GdbStart gdb --args ./path/to/my/binary <args...>
You can tell something automatically happens, but the window immediately closes. I saw another issue where the person did not have gdb installed, I do. I could be misusing the plugin though.
Is --args a legitimate option? I don't see it in the gdb manual. I usually just launch gdb binary, then run <args...> in the GDB CLI.
Perhaps the error reporting should be improved in this case.
UPD: I've tested your scenario, and amazingly it works without errors. Could you please determine what's exactly happening by doing the following?
- launch with the environment variable
CI=1 nvimand collect the log files{nvimgdb,proxy,spy_ui}.log? - recording the terminal output with
asciinemaorscript.
I tried running what you said with CI=1 nvim, and it didn't generate any logfiles from what I've seen. I am pretty sure --args is legitimate (at least it's what I've been using to pass specific command args into the binary. I'll try and record later, but I can't really record what I'm working on right now for reasons that are out of my control.
Take your time. I will only be available after the war.
Oh my bad dude I'm sorry for the circumstances :( Be well.
The latest revision should preserve the terminal in case of an unsuccessful launch attempt.