title: ABAP RFC Debugging
body: <p>I'm a ASP.NET and ABAP developer. For years, I used RFC's to communicate with ASP.NET using SAP .NET Connector.</p>
  
  <p>During the integrated tests, sometimes we need to debug a RFC that has been called from ASP.ENT, just because the bug we are facing does not happens at SE37.</p>
  
  <p>So, everytime I needed to debug the RFC, I just inserted:</p>
  
  <pre><code>IF &lt;&lt;CONDITION&gt;&gt;. WHILE 1 EQ 1. BREAK-POINT. ENDWHILE. ENDIF.
  </code></pre>
  
  <p>By doing so, the program gets stuck. Then I go to SM50 and debug it.</p>
  
  <p>I was wondering if there is any other way of doing this, because I don't like the idea of changing code in order to debug, or implementing some debug control functionality.</p>
  
  <p>So, what do you do when you need to debug RFC's?</p>
  
  <p>Thanks in advance!</p>