title: Why doesn't Netbeans stop at my breakpoints?
body: <p>I created a C++ project on Netbeans 8.0.1 with existing sources and a <code>Makefile</code>.</p>
  
  <p>I ran build which ran the <code>Makefile</code> fine and built the executable named <code>a.out</code>.</p>
  
  <p>The problem is that when I set a breakpoint in the IDE it just doesn't pause there.</p>
  
  <p>What is the issue?</p>
  
  <p>None of the other questions on this site solved the issue.</p>
  
  <p>Makefile:</p>
  
  <pre><code>CC=g++
  
  build: foo.cpp foo.h main.cpp
      $(CC) foo.cpp foo.h main.cpp
  </code></pre>