<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Execute a method and check the results while debugging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064650#M1969554</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am trying to debug an ABAP class.&lt;/P&gt;
  &lt;P&gt;This ABAP Class internally invokes CL_HTTP_CLIENT for http communication to an external server.&lt;/P&gt;
  &lt;P&gt;While debugging i want to check what are the cookies sent in the HTTP Request.&lt;/P&gt;
  &lt;P&gt;I checked that internally CL_HTTP_CLIENT references CL_HTTP_ENTITY which has GET_COOKIES method.&lt;/P&gt;
  &lt;P&gt;Now during program execution i did not find any attributes in CL_HTTP_CLIENT which can tell me the values of cookies or HTTP headers. So, i feel one way to find out the cookies value will be executing GET_COOKIES on the reference of CL_HTTP_ENTITY object i have during debugging.&lt;/P&gt;
  &lt;P&gt;In java this is possible to execute the methods on the references during runtime using display or evaluate expressions features in Eclipse debugger. Is something similar available in ABAP Workbench?&lt;/P&gt;
  &lt;P&gt;Or can you please let me know how else can i view the HTTP cookies being sent except using HTTP trace ?&lt;/P&gt;
  &lt;P&gt;Best Regards,&lt;/P&gt;
  &lt;P&gt;Saurav&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2019 10:07:39 GMT</pubDate>
    <dc:creator>former_member210955</dc:creator>
    <dc:date>2019-12-26T10:07:39Z</dc:date>
    <item>
      <title>Execute a method and check the results while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064650#M1969554</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I am trying to debug an ABAP class.&lt;/P&gt;
  &lt;P&gt;This ABAP Class internally invokes CL_HTTP_CLIENT for http communication to an external server.&lt;/P&gt;
  &lt;P&gt;While debugging i want to check what are the cookies sent in the HTTP Request.&lt;/P&gt;
  &lt;P&gt;I checked that internally CL_HTTP_CLIENT references CL_HTTP_ENTITY which has GET_COOKIES method.&lt;/P&gt;
  &lt;P&gt;Now during program execution i did not find any attributes in CL_HTTP_CLIENT which can tell me the values of cookies or HTTP headers. So, i feel one way to find out the cookies value will be executing GET_COOKIES on the reference of CL_HTTP_ENTITY object i have during debugging.&lt;/P&gt;
  &lt;P&gt;In java this is possible to execute the methods on the references during runtime using display or evaluate expressions features in Eclipse debugger. Is something similar available in ABAP Workbench?&lt;/P&gt;
  &lt;P&gt;Or can you please let me know how else can i view the HTTP cookies being sent except using HTTP trace ?&lt;/P&gt;
  &lt;P&gt;Best Regards,&lt;/P&gt;
  &lt;P&gt;Saurav&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 10:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064650#M1969554</guid>
      <dc:creator>former_member210955</dc:creator>
      <dc:date>2019-12-26T10:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a method and check the results while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064651#M1969555</link>
      <description>&lt;P&gt;Just a few words to confirm what you think : the methods of these classes run C programs in the kernel, there's no way to get the cached values behind these methods other than modifying the ABAP programs to call these methods - You can't execute these methods via the debugger - The HTTP trace is the only way I know to get the contents of HTTP requests and responses.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 11:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064651#M1969555</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-12-26T11:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a method and check the results while debugging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064652#M1969556</link>
      <description>&lt;P&gt;Thanks Sandra...that makes sense.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 12:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-method-and-check-the-results-while-debugging/m-p/12064652#M1969556</guid>
      <dc:creator>former_member210955</dc:creator>
      <dc:date>2019-12-26T12:52:05Z</dc:date>
    </item>
  </channel>
</rss>

