Few cents about my commits

bugfix #171 - Debugger in eclipse, source code lookup


History Add debugging support to Eclipse #171
Fix fixed source lookup problem for eclipse. #223

Problem in JdwpRefTypeSourceFileHandler.Handle():52 as it was generating full file path. But by spec it is shell not. What eclipse does: String org.eclipse.jdi.internal.ReferenceTypeImpl.getPath(String sourceName)

  • extracts package from class name
  • adds it as prefix to sourceName received from Debugger

As sourceName (from debugger) already contained full package path prefix this causes double package name prefix in the file path. And eclipse was not able to find this path even if proper source folder was manually provided to it