Author Topic: Showing vector elements in debugger  (Read 846 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 4906
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Showing vector elements in debugger
« Reply #45 on: Today at 03:51:37 pm »
@ollydbg:
does it make sense to provide the python dll within your gdb download? Are there dependencies to other dlls (from python27.dll to other) too?
What if there is a python27.dll in the bin folder and one in the system folder? What version gets picked?
I see the frustration of the OP and i would like to do something against it...
Copying only a dll file is not enough, you have to copy all the folders(such as the folder named "Lib" under python installed folder) to your GDB's bin folder. This will make the distribution a lot bigger, my personally python have a lot of non-standard packages installed in the "Lib" folder, so I don't want to to distribute the python, installing python is quite simple under Windows, just download the official python installer.
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.