I created a special logging utility that displays the log message and DateTime. I would like to add a line number in the source code that called the function.
Is there a way to determine which HTML source line ran a specific javascript function?
Having written the logging library ( log4javascript ), I considered the same problem, and here are my thoughts:
, Error, . Error , , . , , - stack Error ( message Opera), :
Error
stack
message
log4javascript , , , .
Source: https://habr.com/ru/post/1746214/More articles:testing a controller in asp.net mvc - asp.net-mvchttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1746210/can-asm-method-visitors-be-used-with-interfaces&usg=ALkJrhgPuG1aDV8uwC4Gyey-V4QcLOtYHwHow to create an exe file using an .apk file - androidHow to make an executable version of software on Android? - androidHow to find out if ob_gzhandler works? - phpScrambling digg rss with python - pythonHow to make .EXE to demonstrate eclipse's Android software? - androidErlang IMAP client library to query IMAP servers - erlangFLVPlayback component will not move smoothly - loopsHow to create two java-webapps and interdependent jar dependencies and other files? - javaAll Articles