Question about debug and release mode.

Good day, everyone. I have strange behavior of my program in debug and release mode. Here it is:

Here is screen with a code. I wrote qDebug in condition of indexes i and j: qDebug()<<"i==elemMismatch1&&j>elemMismatch2"; and qDebug()<<"String for replace was added into DataNewDocument[numberOfVersionNewDocuments].StatusOfRowInOlderVesrsion";. If program has come in those points - it will be shown in console.