摘要 |
A mechanism for tracking subclasses of and operations performed by generic objects in a computer system is disclosed. A method of the disclosure includes receiving, by a debugging tool executed from a processing device, an invocation from a code annotation in a function executed by the processing device, the invocation to initialize an object subclass tracking module of the debugging tool, requesting a stack trace of a call stack of the function, generating an identification (ID) using the requested stack trace, and storing the generated ID and the stack trace in a new entry in an object tracking table. |
主权项 |
1. A computer-implemented method, comprising:
identifying, by a debugging tool executed from a processing device, an invocation from a code annotation in a function executed by the processing device, the invocation to initialize an object subclass tracking module of the debugging tool; requesting, by the object subclass tracking module, a stack trace of a call stack of the function; generating, by the object subclass tracking module, an identification (ID) using the requested stack trace; and storing, by the object subclass tracking module, the generated ID and the stack trace in a new entry in an object tracking table. |