Community
Participate
Working Groups
When I double click in the editor margin to create a breakpoint on a method that is not in my context, the method is not added to my context, so the breakpoint doesn't show up in the filtered breakpoints view. I frequently do this when exploring code. I think adding a breakpoint to a method should cause it to be interesting.
That sounds like a very good idea to me. A patch that makes that work would be very welcome.
Created attachment 182182 [details] patch Here's a patch that fixes this. I wasn't sure how much interest an element should get when a breakpoint is set, but I think it makes sense to give already interesting elements a smaller boost than uninteresting elements.
Created attachment 182183 [details] mylyn/context/zip
Created attachment 186862 [details] patch Steffen, did you miss this? Updating because after 2 months of it working, I suddenly got a few INVALID_THREAD_ACCESS errors.
Created attachment 186863 [details] mylyn/context/zip
Yes, totally missed the patch. Thanks for bringing this to my attention. I'll try to take a look next week.
Great work! I have applied this patch with a couple of changes. I removed the special interest values and have just made it to be a selection on the element as this seems to make the most sense from the POV of context. If these elements start dropping out too fast, we could consider adding something similar back.