Author Topic: Memory Window CodeBlocks - c++?  (Read 12666 times)

Offline dominover

  • Multiple posting newcomer
  • *
  • Posts: 46
Memory Window CodeBlocks - c++?
« on: August 05, 2014, 04:20:21 am »
Hi
The attached is a picture of a memory window used for debugging in Visual Studio.  Just wondering if there is any such thing in CodeBlocks? 

Thanks

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Memory Window CodeBlocks - c++?
« Reply #1 on: August 05, 2014, 08:48:22 am »
Yes, we open a memory window to watch memory contents when debugging.
Click Menu->Debug->Debug Windows->Memory Dump to see it.
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.