in long stack mode, first test if there is a stack trace string