<?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 Re: DEBUG-I-NOUNIQ in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135400#M13888</link>
    <description>You may need some combination of:&lt;BR /&gt;&lt;BR /&gt;SET IMAGE&lt;BR /&gt;SET MODULE&lt;BR /&gt;SET SCOPE&lt;BR /&gt;&lt;BR /&gt;in the debugger, (though in my experience I've only used scope with C).  The BASIC compiler has an option called /SEPARATE_COMPILATION which may be part of the mix here.  If you had separate compilation in your old environment but not on the Itanium or vice versa, that could be one factor.  There may have been other changes in moving your application to IA64, such as moving some routines into a shareable image (which is when you'd need the SET IIMAGE mentioned above).&lt;BR /&gt;&lt;BR /&gt;You can also specify symbol names fully qualified, first finding out what they are with something like:&lt;BR /&gt;&lt;BR /&gt;show symbol *jos_replace&lt;BR /&gt;&lt;BR /&gt;but it looks like it's already told you that you have a data section name the same as a routine name.  You just need to figure out the fully qualified symbol name for the routine.</description>
    <pubDate>Fri, 25 Jan 2008 00:00:49 GMT</pubDate>
    <dc:creator>Craig A Berry</dc:creator>
    <dc:date>2008-01-25T00:00:49Z</dc:date>
    <item>
      <title>DEBUG-I-NOUNIQ</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135399#M13887</link>
      <description>When using the DEBUG utility on Integrity for BASIC language programs, I am unable to set a breakpoint on some/all external routines.&lt;BR /&gt;&lt;BR /&gt;I get an error like the following...&lt;BR /&gt;DBG&amp;gt; SET BREAK JOS_REPLACE&lt;BR /&gt;   data JOS_REPLACE\JOS_REPLACE\JOS_REPLACE&lt;BR /&gt;    routine JOS_REPLACE&lt;BR /&gt;%DEBUG-I-NOUNIQ, symbol 'JOS_REPLACE' is not unique&lt;BR /&gt;%DEBUG-E-REENTER, reenter the command using a more precise pathname&lt;BR /&gt;&lt;BR /&gt;This is only a problem on Integrity; and works fine on Alpha platform.&lt;BR /&gt;Does anyone know how to get breakpoints to work on external routines on Integrity?</description>
      <pubDate>Thu, 24 Jan 2008 23:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135399#M13887</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2008-01-24T23:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG-I-NOUNIQ</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135400#M13888</link>
      <description>You may need some combination of:&lt;BR /&gt;&lt;BR /&gt;SET IMAGE&lt;BR /&gt;SET MODULE&lt;BR /&gt;SET SCOPE&lt;BR /&gt;&lt;BR /&gt;in the debugger, (though in my experience I've only used scope with C).  The BASIC compiler has an option called /SEPARATE_COMPILATION which may be part of the mix here.  If you had separate compilation in your old environment but not on the Itanium or vice versa, that could be one factor.  There may have been other changes in moving your application to IA64, such as moving some routines into a shareable image (which is when you'd need the SET IIMAGE mentioned above).&lt;BR /&gt;&lt;BR /&gt;You can also specify symbol names fully qualified, first finding out what they are with something like:&lt;BR /&gt;&lt;BR /&gt;show symbol *jos_replace&lt;BR /&gt;&lt;BR /&gt;but it looks like it's already told you that you have a data section name the same as a routine name.  You just need to figure out the fully qualified symbol name for the routine.</description>
      <pubDate>Fri, 25 Jan 2008 00:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135400#M13888</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2008-01-25T00:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG-I-NOUNIQ</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135401#M13889</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;  DEBUG is showing you two possibilities for your ambiguous name:&lt;BR /&gt;&lt;BR /&gt;data JOS_REPLACE\JOS_REPLACE\JOS_REPLACE&lt;BR /&gt;routine JOS_REPLACE&lt;BR /&gt;&lt;BR /&gt;  Try:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; SET BREAK JOS_REPLACE\JOS_REPLACE\JOS_REPLACE&lt;BR /&gt;&lt;BR /&gt;You may also want to try something like:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; SET BREAK JOS_REPLACE\%line 1&lt;BR /&gt;&lt;BR /&gt;(this will tell you the previous and next lines, if line 1 doesn't exist).&lt;BR /&gt;&lt;BR /&gt;If that fails, you may be able to:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; EVAL/ADDRESS JOS_REPLACE&lt;BR /&gt;&lt;BR /&gt;then SET BREAK to the address of the object you want.</description>
      <pubDate>Fri, 25 Jan 2008 00:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135401#M13889</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-01-25T00:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG-I-NOUNIQ</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135402#M13890</link>
      <description>Almost forgot...&lt;BR /&gt;&lt;BR /&gt;If none of that works, please post a cut down example showing your problem. I'd expect no more than 10 lines of code, and a transcript of the DEBUG session showing the error.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2008 00:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135402#M13890</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-01-25T00:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG-I-NOUNIQ</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135403#M13891</link>
      <description>Thanks for the feedback guys!&lt;BR /&gt;The problem is that the "data" section with the JOS_REPLACE\JOS_REPLACE\JOS_REPLACE appears to be totally bogus because there are no data sections with the same name as the module (unless the compiler created separate code and data segments and is confusing them - which doesn't happen on Alpha platform debug).&lt;BR /&gt;&lt;BR /&gt;Most of the other suggestions did not really help except for...&lt;BR /&gt;&lt;BR /&gt;the SET BREAK JOS_REPLACE\%LINE 1 &lt;BR /&gt;suggestion was one that I figured out about the same time John was replying to this topic.&lt;BR /&gt;&lt;BR /&gt;That appears to be a workaround that I can live with.&lt;BR /&gt;&lt;BR /&gt;Thanks for the feedback.</description>
      <pubDate>Fri, 25 Jan 2008 00:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-i-nouniq/m-p/4135403#M13891</guid>
      <dc:creator>Dennis Piepel</dc:creator>
      <dc:date>2008-01-25T00:14:33Z</dc:date>
    </item>
  </channel>
</rss>

