12. A non-transitory computer readable medium storing instructions for causing a computer to execute a process, said instructions comprising: instructions for recording, into a first node, a current stack trace mapping in response to an execution of a first instruction to construct a first element of a plurality of elements in a computer program, wherein the first node is stored in a data structure configured for storing a plurality of nodes, the first node including a first set of stack frames associated with the execution of the first instruction and an initial pointer having a null value; instructions for incrementally updating the first node with a first updated current stack trace mapping in response to the execution of a first subsequent instruction for rendering the first element, wherein the first updated current stack trace mapping is a first semantic stack trace associated with the first element; instructions for recording, into a second node, the current stack trace mapping in response to the execution of a second instruction to construct a second element of the plurality of elements in the computer program, wherein the second node, stored in the data structure, comprises: a portion of the current stack trace mapping, the portion of the current stack trace mapping including a second set of stack frames associated with the execution of the second instruction; a pointer to the first node; instructions for incrementally updating the second node with a second updated current stack trace mapping in response to the execution of a second subsequent instruction for the rendering of the second element, wherein the second updated current stack trace mapping is a second semantic stack trace associated with the second element, the second element being associated with the first element in the first semantic stack trace; and instructions for, in response to a determination that no additional instruction to construct an element exists in the computer program, generating a node string from the plurality of nodes that includes at least the first node and the second node.
12. A non-transitory computer readable medium storing instructions for causing a computer to execute a process, said instructions comprising: instructions for recording, into a first node, a current stack trace mapping in response to an execution of a first instruction to construct a first element of a plurality of elements in a computer program, wherein the first node is stored in a data structure configured for storing a plurality of nodes, the first node including a first set of stack frames associated with the execution of the first instruction and an initial pointer having a null value; instructions for incrementally updating the first node with a first updated current stack trace mapping in response to the execution of a first subsequent instruction for rendering the first element, wherein the first updated current stack trace mapping is a first semantic stack trace associated with the first element; instructions for recording, into a second node, the current stack trace mapping in response to the execution of a second instruction to construct a second element of the plurality of elements in the computer program, wherein the second node, stored in the data structure, comprises: a portion of the current stack trace mapping, the portion of the current stack trace mapping including a second set of stack frames associated with the execution of the second instruction; a pointer to the first node; instructions for incrementally updating the second node with a second updated current stack trace mapping in response to the execution of a second subsequent instruction for the rendering of the second element, wherein the second updated current stack trace mapping is a second semantic stack trace associated with the second element, the second element being associated with the first element in the first semantic stack trace; and instructions for, in response to a determination that no additional instruction to construct an element exists in the computer program, generating a node string from the plurality of nodes that includes at least the first node and the second node. 14. The non-transitory computer readable medium of claim 12 , wherein the first subsequent instruction comprises a rendering of the first element.