Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E259: not find *** #3193

Closed
ltang666 opened this issue Nov 19, 2021 · 3 comments
Closed

E259: not find *** #3193

ltang666 opened this issue Nov 19, 2021 · 3 comments

Comments

@ltang666
Copy link

ltang666 commented Nov 19, 2021

Want to find the definition, but ctags return E259. How can I debug it?

The command line you used to run ctags:

ctags -f "/.cache/tags/data.tags.temp" "-
-options=/.vim/plugged/vim-gutentags/res/ctags_recursive.options"  --fields=+niazS --extra=+q --c++-kinds
=+px --c-kinds=+px --output-format=e-ctags "/search/z"

The version of ctags:

$ ctags --version
Universal Ctags 5.9.0(p5.9.20211114.0), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Nov 16 2021, 14:19:34
  URL: https://ctags.io/
  Optional compiled features: +wildcards, +regex, +gnulib_regex, +iconv, +option-directory, +packcc, +optscript

How do you get ctags binary:
(
Building it locally, via GNU/Linux distribution
)

vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 13 2021 20:01:41) Included patches: 1-3588

@masatake
Copy link
Member

What is E259?

Are you talking about the exit status of the ctags process?
If the VIM reports #529, I have no idea.

@masatake
Copy link
Member

masatake commented Nov 21, 2021

@masatake
Copy link
Member

It seems that E259 is reported by VIM.

Want to find the definition, but ctags return E259. How can I debug it?

What you have to do for debugging ctags is find a way to explain the bug of ctags without VIM.

The definition you are looking for is included in tags output of ctags?
If the answer is yes, I would like to say ctags works fine. You cannot debug ctags because ctags has no but about the input files and the definition you are looking for.

If you cannot find the definition in the tags file, there can be a bug of ctags.
You must identify the input file name where the definition is. If the programming language used in the input file is not supported in ctags, the debugging is not needed. Instead, you have to write a new parser. We don't call "writing new parser" is "developping".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants