Hi everybody,
I'm not sure under which conditions, when printing a stack trace, the
"unknown source code" is shown instead of the line in the source code
where the exception was thrown. Not knowing the line make debugging
more difficult... I thought it was only with code developed by third
parties, but in one example I have developed on my own it also
happens. Maybe because I'm using jars to package the .class files? Or
because I'm doing tests with networking? Thanks in advance for any
clarification,
Sergio
Thomas Kellerer - 27 Jan 2007 12:43 GMT
418928@cepsz.unizar.es wrote on 27.01.2007 13:39:
> Hi everybody,
>
[quoted text clipped - 6 lines]
> because I'm doing tests with networking? Thanks in advance for any
> clarification,
This happens when you compile your code without the -g switch (or with -g:none)
Third party libraries are often compiled in this way because it makes the
generated class files smaller.
Thomas