5. The method of claim 4 , wherein the current stack trace is a stack trace that includes individual stack frames generated up to a particular point in the execution of an instruction in the computer program.
4. The method of claim 1 , further comprising: recording, into a first node, a mapping of a current stack trace comprising stack frames associated with an execution of a first creation instruction for a first element of a set of elements in a computer program; incrementally updating the first node by recording, into the first node, a first updated mapping of the current stack trace in response to the execution of a first subsequent creation instruction that has the first element as a parameter; recording, into a second node, the mapping of the current stack trace in response to the execution of a second creation instruction for a second element of the set of elements in the computer program; incrementally updating the second node by recording, into the second node, a second updated mapping of the current stack trace in response to the execution of a second subsequent instruction that has the second element as the parameter; and in response to a determination that no additional creation instruction exists in the computer program, generating the semantic stack trace from the first node and the second node.