[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
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 207
Joined: Mon Apr 24, 2017 4:23 am

[wxMSW] Can't debug wxVector!

Post by tomay3000 »

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 654 times
What could be the cause of this ?

Thank you.
Manolo
Can't get richer than this
Can't get richer than this
Posts: 827
Joined: Mon Apr 30, 2012 11:07 pm

Re: [wxMSW] Can't debug wxVector!

Post by Manolo »

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