首页>
外国专利>
Method, system, and apparatus for dynamically injecting logging statements into web 2.0 javascript applications
Method, system, and apparatus for dynamically injecting logging statements into web 2.0 javascript applications
展开▼
机译:用于将日志记录语句动态注入到Web 2.0 JavaScript应用程序中的方法,系统和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A Method, System and Apparatus for dynamically injecting logging statements into Web 2.0 JavaScript applications includes a single block of JavaScript code configured to execute on a client device by loading a profiler JavaScript code into memory on the client device and registering a target JavaScript object. The profiler JavaScript code is configured to dynamically scan the user-defined JavaScript code and modify the functions to add events to a modified user-defined code which include an identification of when the function was called, when the function was exited and when an exception occurs. The modification module is wrapped into a try/catch block so that exceptions can be handled and posted back to the server or displayed to the user or developer.
展开▼