Hi. I need the the Line-Number of the calling function, so that i don't have to pass it as additional arguments. Is it possible ? It's easier to put the debugging code into the function not into the function-call. It would be very nice. So you can use the function without changing the arguments. The function with debugging could get the line number of the calling function.