Community
Participate
Working Groups
3.3 M1 Steps: 1. create a new Java project 2. import JUnit into it (http://www.eclipse.org/jdt/ui/smoke-test/junit3.8.1src.zip) 3. in the Package Explorer select 'MoneyTest.java' 4. (optional - makes it easier to see the problem) uncheck the preference Run/Debug > Console > [] Show when program writes to standard out 5. Run > Run As > Java Application ==> Problems view flashes 6. click on the Run tool bar button ==> Problems view flashes each time step 6 is repeated NOTES: 1) there is no flashing if problem grouping is set to 'None' 2) there is no flashing if the following preference is unchecked: Run/Debug > Launching > [] Build (if required) before launching
The problem isn't the launching but the build that is triggered by it i.e. the same problem appears each time if Ctrl+B is pressed with uncheck auto-build. I verified that no markers are created, deleted or modified and hence the view should not do anything at all. The Tasks view suffers from the same problem but it's not visible (like the in the Problems view in list mode). I think the cause is the code in MarkerView's markerUpdateListener which does not check the resource delta for added/deleted/changed markers but simply starts a marker update job which has no access to the delta.
Tod, any update on this one? Same problem when adding or removing a breakpoint: the whole !!!Problems!!! view flashes even though a breakpoint has nothing to do with problems at all. Same problem in R3.2. If you have many errors and warnings and don't filter the Problems view it gets pretty annoying.
Not yet but I'll be looking at it in 3.3 - Boris has some good use cases too.
Not clear that we will have time in 3.3.
At least the simple check whether the delta has marker changes has to be added for 3.3.
Patch will follow...
Created attachment 63519 [details] Proposed Fix How many patches are needed to earn the commit rights for real? ;-)
We give commit rights if you want to own a piece of our code.... just let us know!
Thanks very much Dani - I tidied up an unnecessary local variable but I have otherwise unchanged this. Released for build >20070412
VERIFIED in I20070430-0010