<?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 mode during script execution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714055#M61310</link>
    <description>Use "set -x" (set -o xtrace can also be used to enable shell tracing). To disable shell tracing use "set +x" (or set +o xtrace).</description>
    <pubDate>Tue, 30 Apr 2002 12:41:34 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-04-30T12:41:34Z</dc:date>
    <item>
      <title>debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714053#M61308</link>
      <description>I have knowledge on how to turn on debug mode within C++ and VMS, how to you do the same running a script in HP-Ux&lt;BR /&gt;&lt;BR /&gt;e.g. in C++&lt;BR /&gt;define debug 1&lt;BR /&gt;e.g. in OpenVMS&lt;BR /&gt;$ set verify</description>
      <pubDate>Tue, 30 Apr 2002 12:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714053#M61308</guid>
      <dc:creator>James Barry Donovan</dc:creator>
      <dc:date>2002-04-30T12:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714054#M61309</link>
      <description>&lt;BR /&gt;to turn on verbose mode&lt;BR /&gt;&lt;BR /&gt;set -x &lt;BR /&gt;&lt;BR /&gt;to turn off&lt;BR /&gt;&lt;BR /&gt;set +x&lt;BR /&gt;&lt;BR /&gt;You can't DEBUG, but you can see verbosely what is going on!&lt;BR /&gt;&lt;BR /&gt;With perl you can DEBUG, that's why I prefer to script in perl!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 30 Apr 2002 12:39:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714054#M61309</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-30T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714055#M61310</link>
      <description>Use "set -x" (set -o xtrace can also be used to enable shell tracing). To disable shell tracing use "set +x" (or set +o xtrace).</description>
      <pubDate>Tue, 30 Apr 2002 12:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714055#M61310</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-30T12:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714056#M61311</link>
      <description>ksh -x [script]&lt;BR /&gt;&lt;BR /&gt;you will also want to add these lines to the top of the script to make it easier to follow:&lt;BR /&gt;&lt;BR /&gt;PS4='${0##*/}:$LINENO: '&lt;BR /&gt;typeset -ft $(typeset +f)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Tue, 30 Apr 2002 12:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714056#M61311</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-04-30T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714057#M61312</link>
      <description>Hi James&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Even in the shell scripting you can use #!/usr/bin/ksh -x &lt;BR /&gt;&lt;BR /&gt;to enable the debug option , at teh start of the script .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 30 Apr 2002 12:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714057#M61312</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-30T12:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714058#M61313</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Here it is if you have csh (c-shell) script.&lt;BR /&gt;&lt;BR /&gt;#csh -x script_name &lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Tue, 30 Apr 2002 13:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714058#M61313</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-04-30T13:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714059#M61314</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;and the posix&lt;BR /&gt;&lt;BR /&gt;sh -x script_name&lt;BR /&gt;&lt;BR /&gt;john.</description>
      <pubDate>Tue, 30 Apr 2002 13:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714059#M61314</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-30T13:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: debug mode during script execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714060#M61315</link>
      <description>In the first line of your script put an -x after the ksh. example,&lt;BR /&gt;&lt;BR /&gt;#! /usr/bin/ksh -x&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Apr 2002 17:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debug-mode-during-script-execution/m-p/2714060#M61315</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2002-04-30T17:26:37Z</dc:date>
    </item>
  </channel>
</rss>

