[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.
tomay3000
Experienced Solver
Experienced Solver
Posts: 71
Joined: Mon Apr 24, 2017 4:23 am

[wxMSW] Can't debug wxVector!

Postby 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 102 times


What could be the cause of this ?

Thank you.

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

Re: [wxMSW] Can't debug wxVector!

Postby 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.


Return to “Platform Related Issues”

Who is online

Users browsing this forum: No registered users and 2 guests