Eclipse(Kepler 4.3.2) Source not found when clicking on Java console [message #1315256] |
Fri, 25 April 2014 18:08  |
Eclipse User |
|
|
|
I have a run configuration that I have been using to test some code. When my working directory is set to the Default of: ${workspace_loc:Evolution}, and an exception is shown in the Java console, I can click on the java class name in the console, and the java editor pops up in Eclipse without any problems.
If I change the working directory to an external system directory, and try to do the same thing, I suddenly get a popup error about the source not being found.
I know that the Source lookup tab is configured correctly because:
1. As I just mentioned, when using the default working directory, everything works fine.
2. I can set breakpoints when running in the debugger, and Eclipse will stop at the appropriate class, and show it in the editor.
Is this a bug, or am I missing something extra step here that I need to do when changing the run configuration working directory to an external system directory?
Thanks in advance,
Sergio
|
|
|
|
Re: Eclipse(Kepler 4.3.2) Source not found when clicking on Java console [message #1320326 is a reply to message #1317091] |
Mon, 28 April 2014 14:33  |
Eclipse User |
|
|
|
Thanks for the pointer. I think that was it. The process I was debugging did some class loading as part of its run. I think that is what messed up the console source lookup.
As a quick experiment, I changed the working directory to be a different place in my filesystem, and i was able to click on the console when I got an exception, and browse to the appropriate class.
Thanks,
Sergio
|
|
|
Powered by
FUDForum. Page generated in 0.03801 seconds