You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey,
I create a cscope database of a C project using:
$ cscope -Rbq
then in vim I load the database with:
:CCTreeLoadDB cscope.out
at this point everything is working great
I create the xref DB using
CCTreeSaveXRefDB cctree.out
then I close vim, reopen and load the db with
CCTreeLoadXRefDB cctree.out
but then when I try to use it (with :CCTreeTraceReverse) I get
Error detected while processing function 20_CCTreeTraceTreeForSymbol[19]..191[7]..186[2]..187[10]..112[9]..98:
line 1:
E716: Key not present in Dictionary: 7929
and I get garbage in the result
any idea what am I missing?
The text was updated successfully, but these errors were encountered:
FWIW, I have a PR that makes things better for me - but I must use CCTreeLoadXRefDBFromDisk.
The issue you have might be to the way taglist() builtin function in vim is expecting the file to be sorted. This caused cctree to fail to find some items and throw these errors. If you click through them you might actually find a result rendered. I did fix throwing this random errors - but not the failure to find some IDs sometimes..
hey,
I create a cscope database of a C project using:
$ cscope -Rbq
then in vim I load the database with:
:CCTreeLoadDB cscope.out
at this point everything is working great
I create the xref DB using
CCTreeSaveXRefDB cctree.out
then I close vim, reopen and load the db with
CCTreeLoadXRefDB cctree.out
but then when I try to use it (with :CCTreeTraceReverse) I get
Error detected while processing function 20_CCTreeTraceTreeForSymbol[19]..191[7]..186[2]..187[10]..112[9]..98:
line 1:
E716: Key not present in Dictionary: 7929
and I get garbage in the result
any idea what am I missing?
The text was updated successfully, but these errors were encountered: