Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Please add new plugins for Cscope, thanks!
Loaden:
--- Quote from: Loaden on January 07, 2010, 02:48:36 am ---
--- Quote from: danselmi on January 06, 2010, 08:23:34 pm ---only roughly tested!
--- End quote ---
Oh! Good!! Thank you very much!
I will testting and report it.
--- End quote ---
I have compiled Cscope plug-in, found that the plug-in does not work. After clicking the menu command line, works where the directory does generate cscope.out, but Cscope.dll obviously can not generate the results reported to the CB.
[attachment deleted by admin]
Loaden:
I read over the code, find this plug-in should be no analysis of the data to realize cscope.out. As I am bad programming level, I can not complete the rest of this plug-in.
Why is this plug-in has not submitted to the CB's contrib in?
danselmi:
First: cscope.exe must be in your path (I used cscope binary from http://code.google.com/p/cscope-win32/).
Second: try to add the line
--- Code: ---while(m_pProcess->ReadProcessOutput());
--- End code ---
just after
--- Code: ---if ( !m_pProcess )
return;
--- End code ---
in OnCscopeReturned(...) in CscopePlugin.cpp
Loaden:
--- Quote from: danselmi on January 07, 2010, 10:10:32 am ---First: cscope.exe must be in your path (I used cscope binary from http://code.google.com/p/cscope-win32/).
Second: try to add the line
--- Code: ---while(m_pProcess->ReadProcessOutput());
--- End code ---
just after
--- Code: ---if ( !m_pProcess )
return;
--- End code ---
in OnCscopeReturned(...) in CscopePlugin.cpp
--- End quote ---
When i do it, now, Cscope.dll work fine.
Thanks!!
killerbot:
fyi : we are currently preparing to add it to the contrib plug-ins. So all of your feedback will be very welcome once it is in.
ONce it is there : linux user : take a good look at the cscope tab in the messages pane. For me the header of the list things (like we have for compiler warnings/erros) seemed to have an issue. It was all tracked to the complete left and as such not even visible what every column says (File Line Scope Text). After manually putting things in place, it was ok.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version