<?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 Debugging?? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031326#M84872</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;i have a C program(which is compiled &amp;amp; linked with /debug) which is linked via a shareable image. Now I'm able to debug this C program &amp;amp; successfully exit from the debugger. But this C program in turn calls the routines defined thru the shareable image. And that routine is returning a different value &amp;amp; i need to find that. &lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;code = shareable_routine(x1,x2,x3);&lt;BR /&gt;&lt;BR /&gt;The problem here is I'm not able to STEP/INTO  that particular routine( Actually i don't lnow how to do that).Even though i have the complete source code of the shareable image, i dont know how to set up that. &lt;BR /&gt;&lt;BR /&gt;Please help me out!!! &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/Manesh &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Jul 2007 06:21:17 GMT</pubDate>
    <dc:creator>Manesh Sasankan</dc:creator>
    <dc:date>2007-07-03T06:21:17Z</dc:date>
    <item>
      <title>Debugging??</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031326#M84872</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;i have a C program(which is compiled &amp;amp; linked with /debug) which is linked via a shareable image. Now I'm able to debug this C program &amp;amp; successfully exit from the debugger. But this C program in turn calls the routines defined thru the shareable image. And that routine is returning a different value &amp;amp; i need to find that. &lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;code = shareable_routine(x1,x2,x3);&lt;BR /&gt;&lt;BR /&gt;The problem here is I'm not able to STEP/INTO  that particular routine( Actually i don't lnow how to do that).Even though i have the complete source code of the shareable image, i dont know how to set up that. &lt;BR /&gt;&lt;BR /&gt;Please help me out!!! &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/Manesh &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031326#M84872</guid>
      <dc:creator>Manesh Sasankan</dc:creator>
      <dc:date>2007-07-03T06:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging??</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031327#M84873</link>
      <description>Manesh,&lt;BR /&gt;&lt;BR /&gt;If you have the complete source code of the shareable image, compile and link this image with /debug. After that you can debug also the shareable part.&lt;BR /&gt;If you define a logical name pointing to the shareable image linked with the debugger it can stay in a different directory or/and have a different name.&lt;BR /&gt;&lt;BR /&gt;To set a breakpoint or examine symbols from the shareable image use:&lt;BR /&gt;DBG&amp;gt; SET IMAGE shareable_image&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 03 Jul 2007 06:38:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031327#M84873</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2007-07-03T06:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging??</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031328#M84874</link>
      <description>Manesh,&lt;BR /&gt;&lt;BR /&gt;In addition to Bpjan's direct comment, I will add that time spent with the Debugger manual will pay extremely large dividends. &lt;BR /&gt;&lt;BR /&gt;The OpenVMS Debugger is a very powerful utility. In addition to SET IMAGE, there are other commands that would also be useful in debugging a problem with a shareable image (since this often involves repeated debugging sessions, I also recommend the use of a initialization file referenced using the DBG$INIT logical name).&lt;BR /&gt;&lt;BR /&gt;Using the full power of the debugger can save many hours of laborious work, and is well worth the effort.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 03 Jul 2007 07:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debugging/m-p/4031328#M84874</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-07-03T07:31:02Z</dc:date>
    </item>
  </channel>
</rss>

