Author Topic: Debugging plugin code  (Read 4852 times)

Offline nahn1989

  • Single posting newcomer
  • *
  • Posts: 6
Debugging plugin code
« 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

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Debugging plugin code
« Reply #1 on: April 16, 2012, 01:57:02 am »
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.