Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use right -sourcepath when jruby is invoked via jdb #5346
When --jdb flag is passed to jruby, it's using an incorrect value for -sourcepath flag. This makes the debugger unable to show the source code of the class being debugged.
I took a look at a recent dist build, e.g.:
@kares OK, I'll remove the path including the generated-sources dir since it doesn't make sense for a dist build as you mentioned. However, I wonder if it makes sense to include the ruby stdlib path in the source path of the java debugger, since there are not .java files in that path.
To clarify, which option is preferable?