[wxMSW] Can't debug wxVector!

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
tomay3000
Earned some good credits
Earned some good credits
Posts: 101
Joined: Mon Apr 24, 2017 4:23 am

[wxMSW] Can't debug wxVector!

Post by tomay3000 » Sat May 19, 2018 5:24 am

Hello,
When I try to debug my application under windows using gdb debugger, this last one can't debug wxVector variables and show an assertion message box:
Untitled.png
Untitled.png (8.38 KiB) Viewed 201 times
What could be the cause of this ?

Thank you.

Manolo
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 656
Joined: Mon Apr 30, 2012 11:07 pm

Re: [wxMSW] Can't debug wxVector!

Post by Manolo » Sat May 19, 2018 12:45 pm

That error means that you are trying to access an item beyond the current size of the wxVector. That's what .at() is usefull for.

Post Reply