News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

What is Simplest CB Plugin that does logging correctly?

Started by stahta01, April 16, 2023, 12:11:10 AM

Previous topic - Next topic

stahta01

What is Simplest CB Plugin that does logging correctly?

GitBlocks is not doing the logging correctly to "Log & others" window; it keeps adding new tags.

Edit: I picked CppCheck plugin as one to try copying how it is done.
Edit2: GitBlocks seems to now attach and release correctly.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

A plugin named "cccc" which only contains one source file would be simple to understand, it just add a single log panel once attached, and remove it when released.

Luckily you have solved your issue.
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.