Sunday, May 2, 2021

Re: Error starting :Termdebug

Uri Moszkowicz wrote:

> I get this error running vim 8.2 when starting :Termdebug:
>
> Error detected while processing function
> <SNR>2_StartDebug[2]..<SNR>2_StartDebug_internal[50]..<SNR>2_StartDebug_term:
> line 97:
> Cannot check if your gdb works, continuing anyway
> Press ENTER or type command to continue
>
> After a few seconds GDB starts anyway. Is there a way I can disable this
> error message?

The plugin wants to check what features your gdb has. I wonder why this
takes so long. Perhaps there is another gdb argument to do this
quickly?

Do you see the "Reading symbols from" message? You could change the
plugin runtime/pack/dist/opt/termdebug/plugin/termdebug.vim

" Reading symbols might take a while, try more times
let try_count -= 1

Change "1" to a large number, e.g. "100" or "1000".
Let us know if that helps.


--
hundred-and-one symptoms of being an internet addict:
216. Your pet rock leaves home.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/202105021311.142DBOEX020833%40masaka.moolenaar.net.

No comments:

Post a Comment