Author Topic: How can I watch the contents of vectors on Windows 10?  (Read 3466 times)

Offline nyislander

  • Multiple posting newcomer
  • *
  • Posts: 10
How can I watch the contents of vectors on Windows 10?
« on: March 02, 2021, 05:02:41 pm »
I have codeblocks-20.03 on my Xubuntu machine and have no complaints.  I installed codeblocks-20.03mingw-setup.exe on my Windows 10 machine (faster processor; quad core) and I'm having trouble configuring it to watch vectors in debug.  I can watch vectors on my Xubuntu machine.  Any suggestions/links are appreciated.

I've tried some of the things suggested in this thread but I have not been successful: http://forums.codeblocks.org/index.php/topic,22325.msg151987.html#msg151987
« Last Edit: March 02, 2021, 05:11:32 pm by nyislander »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: How can I watch the contents of vectors on Windows 10?
« Reply #1 on: March 03, 2021, 01:29:44 pm »
On linux gdb support python pretty printing
the shiped gdb with codeblocks does not support python

Try this post from me:
http://forums.codeblocks.org/index.php/topic,24360.msg166153.html#msg166153

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: How can I watch the contents of vectors on Windows 10?
« Reply #2 on: March 03, 2021, 01:30:47 pm »
also:
https://github.com/ssbssa/gdb

[edit:] Look at the releases on the side for binaries to download
« Last Edit: March 03, 2021, 01:49:57 pm by BlueHazzard »

Offline nyislander

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: How can I watch the contents of vectors on Windows 10?
« Reply #3 on: March 06, 2021, 10:03:48 pm »
Thanks for your response BlueHazzard.

I played around with it some more with no luck.  I moved onto Visual Studio - much better!  I was able to resolve everything.