title: Eclipse IDE 2020‑03 Debugger is doing weird stuff
body: <p>So I am stuck with a problem when debugging with the most recent version of Eclipse 2020-03, which I installed for a new project I'm working on.
  It first struck me that things were not working correctly when I couldn't read a resource with Class.getResource( String name ), as the debugger at the breakpoint in getResource(..) kept telling me that the name was null, while I definitely had provided a path name.</p>
  
  <p>Clearing, cleaning, reloading the target (Running Platform), refreshing and rebuilding did not change anything, so I decided to create a simple OSGI plugin project with just an Activator, and a debug configuration with only the bare minimum bundles.</p>
  
  <p>The Activator looks like this:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class Activator implements BundleActivator {
  
          public static final String BUNDLE_ID = "test.myapp.core";
  
          private static BundleContext context;
  
          private Logger logger = Logger.getLogger(this.getClass().getName());
  
          static BundleContext getContext() {
              return context;
          }
  
  
          public Activator() {
              super();
              logger.info("STARTED: " + BUNDLE_ID);
          }
  
  
          @Override
          public void start(BundleContext bundleContext) throws Exception {
              logger.info("ACTIVATED: " + BUNDLE_ID);
              Activator.context = bundleContext;
              InputStream in = getClass().getResourceAsStream( "/test.cfg" );
          }
  
  
          @Override
          public void stop(BundleContext bundleContext) throws Exception {
              Activator.context = null;
          }
  
      }
  </code></pre>
  
  <p>EDIT: Changed the original link to build.properties to test.cfg in order to avoid confusion.</p>
  
  <p>But when I start the debugger, it will activate the bundle, but will not show any of the log messages. Also the debugger will not respond to the breakpoints I put in. Strangely enough, selecting 'ss' shows me far more bundles than the ones provided in the debug configuration. </p>
  
  <blockquote>
    <p>id    State       Bundle<br>
    0   ACTIVE      org.eclipse.osgi_3.15.200.v20200214-1600<br>
    1   ACTIVE      test.myapp.core_1.0.0.qualifier<br>
    2   ACTIVE      org.apache.lucene.core.source_8.4.1.v20200122-1459<br>
    3   ACTIVE      javax.annotation.source_1.2.0.v201602091430<br>
    ....<br></p>
  </blockquote>
  
  <p>It seems as if a different debug configuration is launched, and is using an previously built version of my bundle, where the log messages were not yet included. clearing the bin folder, and eventually all the metadata also had no effect.</p>
  
  <p>I'm totally stumped as of what I'm experiencing here. Hopefully someone can help!</p>