is vs debugger wrong? indexoutofrangeexception thrown code: f++
why an difference being thrown "f++" biased formula next ("indexoutofrangeexception unhandled user code"):
for (int f = 0; f < gnf; f++)
{
fieldnames[g] = grid.fieldname(f);
}
the bug "fieldnames[g] = ..." biased code, algorithm should be:
for (int f = 0; f < gnf; f++)
{
fieldnames[f] = grid.fieldname(f);
}
(this does crash.) nonetheless debugger arrangement difference "fieldnames[g]..." line wrong (top) formula runs.
i'm controlling threads during indicate i don't being those "debugging exceptions threaded way suicide" situations.
why debugger arrangement difference wrong place? optimizations something? anyone else debugger "wrong" before?
Comments
Post a Comment