Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Go to class + line from exception stacktrace((feature proposal))
Go to class + line from exception stacktrace [message #1479531] Wed, 19 November 2014 09:00 Go to next message
Eclipse UserFriend
Stack traces of exceptions are printed like:
....
at org.apache.commons.dbcp.DelegatingPreparedStatement.setTimestamp(DelegatingPreparedStatement.java:144)
...
Now what everyone need to do is to press Ctrl-Shift-T, then go to class DelegatingPreparedsStatement, then press Ctrl-L and go to line 144

It would be nice to copy to clipboard DelegatingPreparedStatement.java:144 or full stacktrance element, press some hotkey (like Ctrl-Shift-T), select appropriate class and voila, we are looking at particular class at particular line.
Re: Go to class + line from exception stacktrace [message #1479578 is a reply to message #1479531] Wed, 19 November 2014 09:52 Go to previous message
Eclipse UserFriend
On 11/19/2014 9:02 AM, Mikhail Fedorov wrote:
> Stack traces of exceptions are printed like:
> ...
> at org.apache.commons.dbcp.DelegatingPreparedStatement.setTimestamp(DelegatingPreparedStatement.java:144)
> ..
> Now what everyone need to do is to press Ctrl-Shift-T, then go to class DelegatingPreparedsStatement, then press Ctrl-L and go to line 144
>
> It would be nice to copy to clipboard DelegatingPreparedStatement.java:144 or full stacktrance element, press some hotkey (like Ctrl-Shift-T), select appropriate class and voila, we are looking at
> particular class at particular line.

Check out the types of consoles in the console view. one is for stack traces. paste your stack trace in there and you will get hot links to the files that are in your workspace
Previous Topic:What EXACTLY tells Eclipse to enable the "JUnit Test" option in the "Run As" men
Next Topic:backward history -- alt + left -- only working sometimes
Goto Forum:
  


Current Time: Wed Jul 23 15:12:30 EDT 2025

Powered by FUDForum. Page generated in 0.05086 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top