Method, system, and apparatus for dynamically injecting logging statements into web 2.0 javascript applications
US8245200B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jul 11, 2008 |
| Grant date | Aug 14, 2012 |
| Priority date | — |
| Expiry date | Jan 6, 2031 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3624
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.