Show the line & file where dd was Executed

sometimes i find myself with a dd function but i don't really know where i debugged that so I'm using this bit of code to show the file name  and the line where dd was ?