
Docker上のVimでTermdebugし用としたら、以下のエラーになりました。
Error detected while processing function <SNR>1_StartDebug[2]..<SNR>1_StartDebug_internal[36]..<SNR>1_StartDebug_term: line 62: 'gdb' exited unexpectedly Press ENTER or type command to continue |
Termdebugのコードをみると、多分ここでメッセージを出しているようです。
: " Connect gdb to the communication pty, using the GDB/MI interface call term_sendkeys(s:gdbbuf, 'new-ui mi ' . commpty . "\r") " Wait for the response to show up, users may not notice the error and wonder " why the debugger doesn't work. let try_count = 0 while 1 let gdbproc = term_getjob(s:gdbbuf) if gdbproc == v:null || job_status(gdbproc) !=# 'run' echoerr string(g:termdebugger) . ' exited unexpectedly' call s:CloseBuffers() return endif let response = '' for lnum in range(1,200) : |
結果として...
gdbが入っていないだけでした。
# apt install gdb |
これで解決しました。
0 件のコメント :
コメントを投稿