codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: when using cscope, no result is shown in console

Open lyfadvance opened this issue 1 year ago • 3 comments

What happened?

When I run the cscope plug-in, the ide does not display the results. However, when I open the debug log, the log contains the running results of the cscope. This seems to be a communication issue with the program interface, but I have upgraded libssh to 0.10.4

Version

16.0.2

Operating system

Linux

Steps to reproduce

No response

Relevant log output

No response

lyfadvance avatar Mar 28 '23 02:03 lyfadvance

Just to confirm that I see the same thing in 17.0.0 on ubuntu kinetic. However it works normally in 16.7.0 on debian 11.

dghart avatar Mar 28 '23 17:03 dghart

Yes, the system I am using is ubuntu 18.04. In addition, the libssh version of ubuntu 18.04 is 0.8. When compiling codelite from source code, an error was reported: 'SSH_ OPTIONS_ PUBLICKEY_ ACCEPTED_ TYPES' undeclared。 After upgrading libssh to 0.10.4, this issue will not occur.

lyfadvance avatar Mar 29 '23 00:03 lyfadvance

I've now had time to investigate this further. I've tested in various distro/versions (in VirtualBox) and, initially, all failed. That includes debian 11, even though my 'real' debian works fine.

I then tried (installing cscope! and) testing the various options: clicking the Update button, selecting the Update Db if stale option, and the Create reverted index option. Sometimes one of those, sometimes another, sometimes a combination, seemed to work. In the ubuntu 18.04 guest, FWIW it was the Update one that worked. Please experiment and report back what you find.

I'm not suggesting that this is an ideal situation, but it does imply that it's not a broken feature.

dghart avatar May 08 '23 18:05 dghart