Author Topic: SourceTrail plugin  (Read 480 times)

Offline martim01

  • Single posting newcomer
  • *
  • Posts: 4
SourceTrail plugin
« on: November 28, 2019, 01:33:14 pm »
I've written a simple plugin to interface with Source Trail.
The source code can be found at https://github.com/martim01/SourceTrail

I've currently on tested on Windows using Code::Blocks 17.12

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2569
Re: SourceTrail plugin
« Reply #1 on: November 28, 2019, 01:43:02 pm »
You can use your forum login in the wiki and post it there, so it won't get lost :)
Thank you for your support

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5247
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: SourceTrail plugin
« Reply #2 on: November 29, 2019, 07:31:35 am »
It looks like Sourcetrail is now free and open-source software 10 days ago.

For C++ language, it based on Clang, see this page: https://github.com/CoatiSoftware/Sourcetrail
« Last Edit: November 29, 2019, 07:41:01 am by ollydbg »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2180
Re: SourceTrail plugin
« Reply #3 on: December 01, 2019, 06:56:31 pm »
@martim01
In your git .cbp, your second targets' output designation, "debug", is clobbering BrowseTracker.


Code: [Select]
<Target title="debug">
<Option output="../../../devel/share/codeblocks/plugins/BrowseTracker.dll" prefix_auto="0" extension_auto="0" />
<Option object_output="../../../.objs/plugins/contrib/BrowseTracker" />
<Option type="3" />
<Option compiler="gcc" />
<Option parameters="--debug-log --multiple-instance -na -ns -nd -p debug" />
<Option host_application="../../../devel/codeblocks.exe" />
<Option run_host_application_in_terminal="0" />
<Compiler>


Offline martim01

  • Single posting newcomer
  • *
  • Posts: 4
Re: SourceTrail plugin
« Reply #4 on: December 02, 2019, 11:32:54 am »
I've removed the debug build.
I'd used the BrowseTracker project as a template as I kept getting undefined reference errors using the CodeBlocks project wizard. Completely forgot to change the debug build.