Problem markers show up in the wrong place in the editor
Some of the problems listed in the Problems view will when opened in the editor show up in the wrong place ( or rather, the warning lists the wrong file)
Steps to reproduce:
1. Set clearcase view based upon CXS101289_LLVPTB_91_P21A10_110524095051
2. Start "shade --release R2C05"
3. Import and build project ups_erl.
4. In the Problems view, sort on location so that the errors on line 0 is at the top.
5. Scroll down until the first Erlang problem, that will show one file in the Resource column, and another one in the Path column.
6. Double click on the problem, this will open the file specified in the resource column, and mark the problem in it. This is however in the wrong file and the location of the error is not relevant, see attached screenshot.
Steps to reproduce:
1. Set clearcase view based upon CXS101289_LLVPTB_91_P21A10_110524095051
2. Start "shade --release R2C05"
3. Import and build project ups_erl.
4. In the Problems view, sort on location so that the errors on line 0 is at the top.
5. Scroll down until the first Erlang problem, that will show one file in the Resource column, and another one in the Path column.
6. Double click on the problem, this will open the file specified in the resource column, and mark the problem in it. This is however in the wrong file and the location of the error is not relevant, see attached screenshot.
Leave a comment
on 2012-04-27 15:57 *
By Vlad Dumitrescu
I didn't do anything special about it, so it's possible that it's just not easy to reproduce....
on 2012-04-27 17:37 *
By Vlad Dumitrescu
Did you check in Shade environment?
I believe the problem is that errors that occur in hrl files are assigned to the erl file that includes them.
I believe the problem is that errors that occur in hrl files are assigned to the erl file that includes them.
on 2012-06-06 21:02 *
By Vlad Dumitrescu
Priority changed from Normal (3) to High (2)
Priority changed from Normal (3) to High (2)
on 2012-07-23 13:03 *
By Vlad Dumitrescu
Shade ticket changed from 2095.0 to 5740.0
Shade ticket changed from 2095.0 to 5740.0
on 2012-07-30 11:36 *
By Vlad Dumitrescu
Assigned to set to Vlad Dumitrescu
Milestone changed from backlog to sprint #33
Status changed from New to Ongoing
Assigned to set to Vlad Dumitrescu
Milestone changed from backlog to sprint #33
Status changed from New to Ongoing
on 2012-07-31 09:55 *
By Vlad Dumitrescu
Status changed from Ongoing to Test
Status changed from Ongoing to Test
Can't reproduce anymore. Seems to have been fixed together with #909.
When we have hrl files included indirectly (from other hrl files) and from external libs, then we are losing track of the source (we could search for any external resource with the given path, but it can be very slow for large projects like sgsn).
When we have hrl files included indirectly (from other hrl files) and from external libs, then we are losing track of the source (we could search for any external resource with the given path, but it can be very slow for large projects like sgsn).