<?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 Script in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/debug-script/m-p/12308527#M400</link>
    <description>&lt;P&gt;Do you know the debug feature in the Script Editor? See the &lt;A href="https://help.autodesk.com/view/PLM/ENU/?guid=DEV-ADV-DEBUG" target="_blank" rel="noopener"&gt;online help&lt;/A&gt; for reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to debug a script from within the Script Editor, click the button &lt;STRONG&gt;Test&lt;/STRONG&gt; at bottom to provide the variables relevant for the test: If you want to debug a workflow transition, provide the dmsID of the given record (which you can retrieve from this record's URL in your browser) and the ID of the workflow transition (use the internal ID that you get from the Workflow Editor). Finally, click on Debug to execute the script line per line and to grab variable values in real time.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debug.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1279658iB286E6CF8471510F/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug.png" alt="debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that you can perform changes to the script code in debug mode, but these changes get lost once you close the debug mode. You better copy the code to the clipboard if you changed it in debug mode.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 08:50:03 GMT</pubDate>
    <dc:creator>sven.dickmans</dc:creator>
    <dc:date>2023-10-16T08:50:03Z</dc:date>
    <item>
      <title>Debug Script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/debug-script/m-p/12278874#M399</link>
      <description>&lt;P&gt;Hello all. How can I debug my written code? I run the code as Addtional Action and it runs fine but when I save the code in Workflow Action script and run it, it throws a RunTime Exception. I wanted to test and debug the code once and see where the problem is.Also I wanted to know which parameters are important when debugging, e.g. WorkSpaceID, dmsID etc..&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 08:44:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/debug-script/m-p/12278874#M399</guid>
      <dc:creator>Shohrukhi.Ilhomzoda</dc:creator>
      <dc:date>2023-10-02T08:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Script</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/debug-script/m-p/12308527#M400</link>
      <description>&lt;P&gt;Do you know the debug feature in the Script Editor? See the &lt;A href="https://help.autodesk.com/view/PLM/ENU/?guid=DEV-ADV-DEBUG" target="_blank" rel="noopener"&gt;online help&lt;/A&gt; for reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to debug a script from within the Script Editor, click the button &lt;STRONG&gt;Test&lt;/STRONG&gt; at bottom to provide the variables relevant for the test: If you want to debug a workflow transition, provide the dmsID of the given record (which you can retrieve from this record's URL in your browser) and the ID of the workflow transition (use the internal ID that you get from the Workflow Editor). Finally, click on Debug to execute the script line per line and to grab variable values in real time.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debug.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1279658iB286E6CF8471510F/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug.png" alt="debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that you can perform changes to the script code in debug mode, but these changes get lost once you close the debug mode. You better copy the code to the clipboard if you changed it in debug mode.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 08:50:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/debug-script/m-p/12308527#M400</guid>
      <dc:creator>sven.dickmans</dc:creator>
      <dc:date>2023-10-16T08:50:03Z</dc:date>
    </item>
  </channel>
</rss>

