Log PC call stack when program execution exceptions occur.