C++ Runtime Error With Odd Workaround

Started by
10 comments, last by Stragen 9 years, 8 months ago

hi,

i must say first of all build a debug version of your application, then debug it

if an error occurs, you can fined it easyly

when you can't see well like me, you can't test your applications and you can't read something

Github

Advertisement

Something to be wary of, and i've seen it happen to my code, if the compiler is doing any form of optimization, functions, classes, and variables may not be executed in the order that you expect... quite aside from a declaration being made in another piece of code.

When the error occurs (say an out of bound or buffer overrun) it may not breakpoint properly and can give wrong line numbers in extreme cases.

This topic is closed to new replies.

Advertisement