Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • Not all the stack trace lines are intended by a space. Some of them are having a space and some of them are not.The row after stack trace begins with a date and time so is there any other way I can cut it based on that? Commented Oct 13, 2016 at 20:30
  • @Shawn That is possible. By the way, do you want to print all stacktraces or just the one that starts on your specified line? Commented Oct 13, 2016 at 20:33
  • I need the entire stack trace. Commented Oct 13, 2016 at 20:35
  • @Shawn Let me clarify: do you want to print all exceptions+stacktraces in the file or just the one exception+stacktrace that starts on the line number that you specify? Commented Oct 13, 2016 at 20:37
  • I need the exception & stack trace that starts from the line number i specify. I do not need the entire exceptions in the file. Sorry if I confused you. Commented Oct 13, 2016 at 20:42