March 2nd, 2013, 12:29 pm
you really get a runtime error or some special value as a result indicating divison by zero (-1.#INF or something) ?if it is a runtime error, then running the code in debug mode should stop with a message giving the line where the error occured, I think.if not, then depends on the code, but maybe set conditional breakpoints in every line you divide something by some expression, conditioning on expression == 0.0 ?
Last edited by
pcaspers on March 1st, 2013, 11:00 pm, edited 1 time in total.