Why do I see “Unknown Source” in the stack trace of a test failure, rather than the source files line number?
The debug option for the Java compiler must be enabled in order to see source file and line number information in a stack trace. When invoking the Java compiler from the command line, use the -g option to generate all debugging info. When invoking the Java compiler from an Ant task, use the debug=”on” attribute. For example:
The debug option for the Java compiler must be enabled in order to see source file and line number information in a stack trace.When invoking the Java compiler from the command line, use the -g option to generate all debugging info.When invoking the Java compiler from an Ant task, use the debug=”on” attribute.