New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source Lookup fails for .clj files #81
Comments
Comment #1 originally posted by laurentpetit on 2009-12-01T22:57:08.000Z: Adding example project though the problem occurs with every .clj file that is not If I replace the getSourceName method in the ClojureSoureLookupParticipant class with:
then it works fine so clearly there is something wrong with the method as it is. |
Comment #2 originally posted by laurentpetit on 2009-12-03T20:52:57.000Z: <empty> |
Comment #3 originally posted by laurentpetit on 2009-12-03T21:14:17.000Z: OK, I think I've narrowed down the bug even more. So that's certainly because of the way the file has been passed by the launcher ... |
Comment #4 originally posted by laurentpetit on 2009-12-03T22:08:40.000Z: ok, no time to correct right now, so here is a (semi :-)private memento for
|
Comment #5 originally posted by laurentpetit on 2009-12-07T21:12:09.000Z: <empty> |
Comment #6 originally posted by laurentpetit on 2009-12-07T22:23:35.000Z: Tested the fix on the latest branch and it appears to work fine. Good job Laurent! :) |
Comment #7 originally posted by laurentpetit on 2009-12-30T21:58:08.000Z: <empty> |
Original issue 40 created by laurentpetit on 2009-11-29T18:10:07.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Normally we should expect Debug perspective to be activated and the line
with the breakpoint to be highlighted. However, instead we get a view
showing "Source not found."
What version of the product are you using? On what operating system?
This is on v 0.0.42 on Windows.
Please provide any additional information below.
While debugging the plugin, I've been able to track down the cause of the
problem. That is that the getSourceName method in the
ClojureSourceLookupParticipant class returns an absolute path when it
should return a relative path. This only happens when debugging .clj files.
If I modify the value returned by the getSourceName method, to a relative
path, the source file is found and everything appears normal.
The text was updated successfully, but these errors were encountered: