Finding the Source Line of a function call
Posted
by Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2010-05-19T15:28:10Z
Indexed on
2010/05/19
15:30 UTC
Read the original article
Hit count: 127
JavaScript
I've built a custom logging utility which displays a Log Message and the DateTime. I would like to add the line number in the source code which called the function.
Is there a way to determine which line of the HTML source a particular javascript function was fired?
© Stack Overflow or respective owner