title: Remote debug C/C++ on an embedded system
body: <p>I have to work on a SOM module with Debian installed. I found a <a href="https://www.youtube.com/watch?v=T9yFyWsyyGk" rel="nofollow noreferrer">good instruction (video) on how to enable remote debug with an embedded system</a>. I followed the steps to set up the Eclipse IDE for C/C++ Developers to work with the module. I tested it with the helloworld project. It worked, great.</p>
  
  <p>Now I started debug my own project. With the same settings, it does not work on my project. I got file input/output error:</p>
  
  <p><a href="https://i.stack.imgur.com/6ExNK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6ExNK.png" alt="Problem Ouccured"></a></p>
  
  <p>I could not debug it. I then checked target device, found that the binary code was downloaded to the SOM without the X property. After <code>chmod a+x</code>, the code ran.</p>
  
  <p>So I'm lost here. Why the remote debug works on the one line helloworld code, and not work for a real project?</p>