 new window.AnsiUp();
                const textContent = element.textContent || element.innerText;
                let htmlContent = ansi_up.ansi_to_html(textContent);

                const stackTracesElement = document.getElementById('stackTracesData');

                htmlContent = htmlContent.replace(/(    )(#\d+)(\s+)(0x[a-fA-F0-9]+)(\s+in\s+)(.+?)(\s+)(\/[^\s]+)/g, function(match, indent, frameNum, space1, memAddr, inText, funcName, space2, filePath) {
                  let formattedPath = filePath;