首页> 外国专利> 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.
机译:一种用于将日志记录语句动态注入Web 2.0 JavaScript应用程序的方法,系统和装置,包括单个JavaScript代码块,该代码块配置为通过将探查器JavaScript代码加载到客户端设备的内存中并注册目标JavaScript对象,从而在客户端设备上执行。探查器JavaScript代码配置为动态扫描用户定义的JavaScript代码并修改函数,以将事件添加到修改后的用户定义代码中,其中包括对何时调用函数,何时退出函数以及何时发生异常的标识。修改模块包装在try / catch块中,以便可以处理异常并将其发布回服务器或显示给用户或开发人员。

著录项

  • 公开/公告号US8245200B2

    专利类型

  • 公开/公告日2012-08-14

    原文格式PDF

  • 申请/专利权人 MICHAEL BAIERL;PETER WANSCH;

    申请/专利号US20080171935

  • 发明设计人 PETER WANSCH;MICHAEL BAIERL;

    申请日2008-07-11

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 17:30:26

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号