Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:00 Go to next message
Mikhail Fedorov is currently offline Mikhail FedorovFriend
Messages: 1
Registered: November 2014
Junior Member
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 14: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: Fri Nov 27 09:03:03 GMT 2020

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

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

Back to the top