<?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: My script won't run through debugger but will run without debugger in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/571840#M78144</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Preference dialog" style="width: 682px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47521i2FCCF1C8F493E4AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="CompatibilityWarningPreference.PNG" alt="Preference dialog" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Preference dialog&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The compatibility issue that usually trips this for me is illustrated above; at one time subscripting [42] with 1::1 (an array of elements from 1 to 1) would return 42. Now it returns [42]. The original thought was the scalar value was the common case, but being consistent for all 1::N is better because there is no special case for N==1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This makes the debugger pause, making debugging painful. Change the preference! It probably works the way you expect it to now." style="width: 809px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47522i28A0C862CB26F1E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="CompatibilityMessage.PNG" alt="This makes the debugger pause, making debugging painful. Change the preference! It probably works the way you expect it to now." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This makes the debugger pause, making debugging painful. Change the preference! It probably works the way you expect it to now.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 02:30:54 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2022-11-22T02:30:54Z</dc:date>
    <item>
      <title>My script won't run through debugger but will run without debugger</title>
      <link>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/37496#M21995</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a script that I can get to work perfectly fine if I just use the "Run Script" button in the script window but if I open the debugger and use the "Run" button I get an error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The message says "Subscripting a list with one element list or matrix "flag" is now a list not a scalar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line of the script it is refering to is in bold below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;	flag = loc(-5&amp;lt;=CalcMassesFromPeak&amp;lt;=5);

    //	Show(flag);

		y= NRow(flag);
		WellLookup = ESIOligoInfo["WellIDs"];
		&lt;STRONG&gt;if(y!=0,FlaggedWells = WellLookup[flag],FlaggedWells = "");
		&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I don't think there is anything wrong with the script because it runs fine when I don't use the debugger. I just don't know what is going on!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the whole script in case it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 15:08:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/37496#M21995</guid>
      <dc:creator>aallman</dc:creator>
      <dc:date>2017-03-24T15:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: My script won't run through debugger but will run without debugger</title>
      <link>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/37497#M21996</link>
      <description>&lt;P&gt;I think this is from two updates made to 13.0. Stolen from the New Features:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the JSL Debugger preferences, Break for Compatibility Warnings is a new option that&lt;BR /&gt;stops executing the script when a potential JSL compatibility issue is found. The Debugger&lt;BR /&gt;stops only once for each potential problem in the script when the option is on. If there are&lt;BR /&gt;many occurrences in the script, and you determine that they are not a problem, you can&lt;BR /&gt;turn the option off. The preference is selected by default.&lt;/LI&gt;
&lt;LI&gt;When you use a 1x1 matrix as a subscript into a matrix or list, now the result is a matrix or&lt;BR /&gt;a list instead of a scalar number.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The debugger is telling you that you're using something that might give you a matrix or list result instead of a scalar result. You can turn the warning off in preferences. But I would make sure first that your script can deal with the change in behavior from 12 to 13.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 15:18:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/37497#M21996</guid>
      <dc:creator>Melanie_J_Drake</dc:creator>
      <dc:date>2017-03-24T15:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: My script won't run through debugger but will run without debugger</title>
      <link>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/571835#M78143</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4451"&gt;@Melanie_J_Drake&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I realize that this is from years ago, but I came across this when I was trying to look for info for the same issue.&amp;nbsp; You said that the warning can be turned off.&amp;nbsp; I don't see how to do this in JMP 16.&amp;nbsp; Do you know if this is still available?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 00:33:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/571835#M78143</guid>
      <dc:creator>Judah</dc:creator>
      <dc:date>2022-11-22T00:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: My script won't run through debugger but will run without debugger</title>
      <link>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/571840#M78144</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Preference dialog" style="width: 682px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47521i2FCCF1C8F493E4AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="CompatibilityWarningPreference.PNG" alt="Preference dialog" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Preference dialog&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The compatibility issue that usually trips this for me is illustrated above; at one time subscripting [42] with 1::1 (an array of elements from 1 to 1) would return 42. Now it returns [42]. The original thought was the scalar value was the common case, but being consistent for all 1::N is better because there is no special case for N==1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This makes the debugger pause, making debugging painful. Change the preference! It probably works the way you expect it to now." style="width: 809px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47522i28A0C862CB26F1E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="CompatibilityMessage.PNG" alt="This makes the debugger pause, making debugging painful. Change the preference! It probably works the way you expect it to now." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This makes the debugger pause, making debugging painful. Change the preference! It probably works the way you expect it to now.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 02:30:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/My-script-won-t-run-through-debugger-but-will-run-without/m-p/571840#M78144</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-11-22T02:30:54Z</dc:date>
    </item>
  </channel>
</rss>

