title: Debug C++ program in Linux
body: <p>I have written a simple C++ program like this:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  int main()
  {
      cout &lt;&lt; "Hello.";
      return 0;
  }
  </code></pre>
  
  <p>Now I want to debug it. So what will be the command for it so my control goes to every line?</p>