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