Hi !
I am trying to get for some error logging the procedure/function name from which another procedure/function was called, inside the called procedure.
I think it is in the same way like Sender : TObject can be picked up for visual controls.
For example inside my 'Insert' procedure i would like to know if, when I had the error, 'insert' was called from function A or function B.
I could add this name to the calling parameters but I am looking into a built-in functionality.
Please advise if this would be possible and how it would look like.
Using Lazarus 1.4.4 on Windows 7.
Thank you