Author Topic: How to debug with a core file?  (Read 3565 times)

Offline nacitar

  • Multiple posting newcomer
  • *
  • Posts: 27
How to debug with a core file?
« on: January 05, 2009, 10:01:22 pm »
How can you use codeblocks as the debugging frontend when debugging via a core file?  I can do debug->start to debug it in this instance, but i can't launch it like I need to use a core file.  Is there a way to do it?

normally you would just: gdb myprogram thecorefile
Jacob McIntosh - Software Developer

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: How to debug with a core file?
« Reply #1 on: January 10, 2009, 12:56:07 pm »
OS? code::blocks version?
What does core file mean? :oops:
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.