initial work for stack trace preview