|The stupid question is the question not asked|
Re^4: caller() returns wrong line on multi-line function call (debugger confused)by RonW (Parson)
|on Sep 16, 2017 at 00:36 UTC||Need Help??|
hence the line with the sub statement in our case
In the OP's case, yes.
I was talking about function calls in general. And for the case of displaying line numbers to a sentient being (which the OP did mention).
For a debugger, yes, the line of number of start of the function call is needed to be able to display the function call correctly.
Update: Though, for a GUI debugger, highlighting the line with the closing ) as long as there wasn't another function call on the same line.
Certainly, the least ambiguous is to have the line number with the start of the call (either the function name or the sub).
My main point of my previous post still remains: Anything line "in the middle" of the call is too ambiguous, therefore not acceptable.