Community
Participate
Working Groups
When viewing a .class file only breakpoints can be set. It is not possible to set a bookmark. It is not unusual to inspect Eclipse code in binary projects for learning or analysis purposes. Being able to bookmark the imbedded source code can be very helpful in recalling relevant visits to code of interest.
I just encountered this while trying to understand some complicated object interactions. It would have been extremely helpful if I could have added a bookmark to a .class file. Instead I had to resort to writting it on paper;-)
Another vote for this one!
Indeed, thats very frustrating. It seems like there is no reason not to allow bookmarks in .class files....
Here is the trick I use to set "bookmarks" in .class files: I set a breakpoint and then disable it. That means I "abuse" the breakpoint view as bookmark view, because the bookmarks are almost useless because of this limitation. There are some disadvantages with this approach: - you cannot add comments to breakpoints - it clutters the breakpoint view - you have to be carefull to not remove all breakpoints It's a shame that this 2 years old request has not been implemented. It makes the bookmarks pretty useless (for java). I'm sure many people are not using bookmrks because of this limitation. You simply give up trying to use bookmarks, if most of the time you can't find them in the context menu. Eclipse makes is almost invisible to a user if he is browsing a .class file or a .java file. From a user perspective, you have the feeling that breakpints "randomly" don't work.....
Any ideas on this ? It's frustrating to copy line numbers and class names into a text editor to remember 'bookmarks' I'm willing to contribute a patch, if someone provides a mylyn context, or point me to a place to start with. :)
The main problem here is that some JARs don't have an underlying resource. And those JARs which do have a underlying resource might get replaced when importing and hence bookmarks are lost again.
maybe the bookmark concept needs to be enhanced so it can store a (virtual) path to a resource....