News:

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

Main Menu

Debugging plugin code

Started by nahn1989, April 15, 2012, 07:20:24 PM

Previous topic - Next topic

nahn1989

I have installed code blocks 10.05 form source. How to debug the plugin project?

OS : Windows 7
Code blocks version : 10.05

ollydbg

Quote from: nahn1989 on April 15, 2012, 07:20:24 PM
I have installed code blocks 10.05 form source. How to debug the plugin project?

OS : Windows 7
Code blocks version : 10.05
Not fully understand your question:
The answer is: Debug the C::B under C::B, and set a breakpoint in the plugin code. This is normally like debug any apps under C::B.
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.