Sets if the generation of the stack trace is enabled. @paran enable triue if stack trace enabled; otherwhise false.