<?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: FlexScript exception message in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589954#M86025</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi, Jason, 
 &lt;P&gt;What is "Invalid Watch Expression"?&lt;BR /&gt;How do I check it if I did or not?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 13 Jun 2023 17:12:29 GMT</pubDate>
    <dc:creator>sung_kimT5CKM</dc:creator>
    <dc:date>2023-06-13T17:12:29Z</dc:date>
    <item>
      <title>FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589952#M86023</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;User of v23.1.1.&lt;/P&gt;
 &lt;P&gt;Anybody has an idea about&lt;/P&gt;
 &lt;P&gt;exception: FlexScript exception: MAIN:/project/exec/globals/Debugger/onUpdate&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Not sure what I did wrong but it happens when I touch a global table while I step through my script. Scrolling up/down seems ok, but if I click anywhere else, it complains about it. The tricky thing is not always happened. It seems like randomly happens to me (of course I did something wrong but not remember??)&lt;/P&gt;
 &lt;P&gt;Remedy I found so far.&lt;BR /&gt;Close the script window and reset and rerun the script. It fairly annoys me. Anyone knows the root cause?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 16:04:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589952#M86023</guid>
      <dc:creator>sung_kimT5CKM</dc:creator>
      <dc:date>2023-06-13T16:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589953#M86024</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Do you have an invalid watch expression define?&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 16:19:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589953#M86024</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2023-06-13T16:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589954#M86025</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi, Jason, 
 &lt;P&gt;What is "Invalid Watch Expression"?&lt;BR /&gt;How do I check it if I did or not?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 17:12:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589954#M86025</guid>
      <dc:creator>sung_kimT5CKM</dc:creator>
      <dc:date>2023-06-13T17:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589955#M86026</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/23385/sungk2.html" nodeid="23385"&gt;@Sung K2&lt;/A&gt;! The exception MAIN:/project/exec/globals/Debugger/onUpdate," indicates that an error occurred in the FlexScript code within the "onUpdate" function of the "Debugger" object in the "globals" folder of the "exec" folder in your FlexSim project.&lt;/P&gt;
 &lt;P&gt;The "onUpdate" function is typically used to define actions or behaviors that should occur repeatedly at regular intervals during the simulation.&lt;/P&gt;
 &lt;P&gt;To resolve the exception, you should review the code in the "onUpdate" function and identify the cause of the error. Common reasons for this type of exception include syntax errors, undefined variables or functions, incorrect data types, or logic errors in the code.&lt;/P&gt;
 &lt;P&gt;Carefully examine the code in the "onUpdate" function and check for any mistakes or inconsistencies. Additionally, review the surrounding code and any relevant documentation or guidelines to ensure that the code is structured correctly and follows the expected syntax and conventions.&lt;/P&gt;
 &lt;P&gt;If you want more detailed help, I would upload a model and we can take a look at it and see if we can replicate the issue.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 17:53:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589955#M86026</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-06-13T17:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589956#M86027</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi, Julie,
 &lt;P&gt;I didn't even touch or write the "onUpdate" script. I checked the codes through the tree, and it seems like it is FlexSim default codes or automatically generated. I don't see anything has to do with my logic. The codes seem like controlling "Debugger" views or responses during the debugging process. If this is true, I don't want to mess with this "already-prepared" codes. I am sorry but I don't understand your suggestion of reviewing the codes that I didn't write.&lt;BR /&gt;BTW, I found the EXACT identical codes for the "onUpdate" from a blank model. It is obvious that the codes are prepared by FlexSim.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 18:29:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589956#M86027</guid>
      <dc:creator>sung_kimT5CKM</dc:creator>
      <dc:date>2023-06-13T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589957#M86028</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Do you want to upload your model that you're working with right now? I think that would be the easiest way to debug this issue.&lt;/P&gt;
 &lt;P&gt;Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 19:19:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589957#M86028</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-06-13T19:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589958#M86029</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thanks for your suggestion. 
 &lt;P&gt;I will try to contact FlexSim support later.&lt;/P&gt;Since the reset and rerun without touching any global tables can fix the problem for now, I may need to use this walk-around(?) method to finish my work on time first.
 &lt;P&gt;Thank you again for your consideration.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 19:40:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589958#M86029</guid>
      <dc:creator>sung_kimT5CKM</dc:creator>
      <dc:date>2023-06-13T19:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: FlexScript exception message</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589959#M86030</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Okay! Please comment back if you figure out what the problem is or you want more help
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Jun 2023 19:49:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexscript-exception-message/m-p/13589959#M86030</guid>
      <dc:creator>julie_weller</dc:creator>
      <dc:date>2023-06-13T19:49:51Z</dc:date>
    </item>
  </channel>
</rss>

