I searched a lot but could not get correct / updated answer (arguments.caller.callee does not exist it seems). I want to know the code line number where a particular function is called. I got this solution where function caller name can be retrieved .
But I am calling my function in JQuery UI droppable. For eg:
$("#id").droppable({
stop: function(e,u){
main(); // I want this line number
}
});
Thats the reason I wanted to know the line number . Is there any way ?