in reply to Re: caller() returns wrong line on multi-line function call
in thread caller() returns wrong line on multi-line function call

It is 90% a curiosity, but I have debugging routines that occasionally report the wrong calling line because of this bug.

Passing __LINE__ to the test function was just illustrative.

  • Comment on Re^2: caller() returns wrong line on multi-line function call