News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

unused member variable in cbEditor.cpp class cbEditorInternalData

Started by ollydbg, November 08, 2011, 07:17:49 AM

Previous topic - Next topic

ollydbg

By reading the source code, I found that this variable is un-used:

m_LastDebugLine


Any ideas?
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.

MortenMacFly

Quote from: ollydbg on November 08, 2011, 07:17:49 AM
m_LastDebugLine
I guess its a relict from very old days, where the debugger was strongly coupled. If there isn't an interface to that variable which might be used by a plugin, this could be removed.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]