gdb ignore iteratotr++ operation

fedor_qd via gdb
Sun Apr 2 20:31:00 GMT 2017

Sorry for doublepost, first mail sended to
I solved my problem, not bug... I send to my app command contained app name and ups... Sorry.

Always yours, Strizhniou Fiodar
Всегда ваш, Стрижнёв Фёдор

Пользователь fedor_qd via gdb <> писал:

>I start my app in codeblock with cmdline arguments with gdb. App terminares before reached breakpoint. I run in stepping mode. That code:
>ParamList::iterator p = iParamList.begin()+1;
>gdb see as:
>ParamList::iterator p = iParamList.begin();
>After that I download build and install gdb 7.12.1. Nothing changes. Also I run gdb directly: gdb myapp -options and got same result. I run app with that params and it crashes after that statement. To track path to crash I print to console messages like cout << "here".
>My build enviroment : msys with mingw(not mingw-32/64) 5.3.0
>How to deal with that?
>Source here -
>Always yours, Strizhniou Fiodar
>Всегда ваш, Стрижнёв Фёдор

More information about the Gdb mailing list