Method-call-chain tracking method, electronic device, and computer readable storage medium
US11099889B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Aug 22, 2018 |
| Grant date | Aug 24, 2021 |
| Priority date | — |
| Expiry date | Aug 22, 2038 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3636
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The present disclosure provides a method for tracking a method-call-chain. The method includes: setting a configuration item for whether to perform a method-call-chain tracking on a current application; intercepting before a method is called, and determining whether call chain information of the method needs to be outputted based on the configuration item; and when it is determined that the call chain information needs to be outputted, recording the call chain information of the method before executing a call request for the method, and outputting the recorded call chain information after the call request for the method is completed. The present disclosure further provides an electronic device and a computer readable storage medium. The method-call-chain tracking method, the electronic device, and the computer readable storage medium provided in the present disclosure allow the tracking of the method-call-chain without rewriting the codes by setting the configuration item and introducing a Spring-AOP.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.