<?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: Error tracing: JMP tries to &amp;quot;help&amp;quot; in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Error-tracing-JMP-tries-to-quot-help-quot/m-p/568628#M77926</link>
    <description>&lt;P&gt;wish to write as well to the log the line of code at which the error "happens":&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/jmp-embedded-log-additional-functionality/idi-p/568614" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Wish-List/jmp-embedded-log-additional-functionality/idi-p/568614&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 10:30:47 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2024-12-13T10:30:47Z</dc:date>
    <item>
      <title>Error tracing: JMP tries to "help"</title>
      <link>https://community.jmp.com/t5/Discussions/Error-tracing-JMP-tries-to-quot-help-quot/m-p/568587#M77925</link>
      <description>&lt;P&gt;JMP helps the user to "trace" errors in JSL code: It doesn't indicate the line of code where the&amp;nbsp;error "happens".&lt;BR /&gt;It tries to find out where the actual error is in the code and shows this line.&lt;/P&gt;&lt;P&gt;In the below example, the error message just shows up if line 6 is uncommented --&amp;gt; error "happens"&amp;nbsp; in line 6.&lt;BR /&gt;But the erroneous code (Graph Bulder without "i") is in line 4.&lt;/P&gt;&lt;P&gt;And JMP, indeed mentions line 4 -&amp;gt; amazing! very helpful&amp;nbsp; :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1668343501469.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47283i29BD71388B00FC8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1668343501469.png" alt="hogi_0-1668343501469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Often it's great that JMP does this first step of error tracing automatically.&lt;/P&gt;&lt;P&gt;But sometimes it's misleading (wrong).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example:&lt;BR /&gt;With it's functionality to trace errors back to where the variable was defined, JMP asks the user to fix the code in line 2.&lt;/P&gt;&lt;P&gt;With too much trust in what JMP is saying, it will take a while to find out that the error is actually in line 12 - definitely doesn't make sense to run a line just with a command which just a GraphBuilder object understands.&lt;/P&gt;&lt;P&gt;Just imagine how complicate it can get if the error is less obvious than this one here - if JMP tells you the wrong line of code and you don't have any clue in which line of code it actually happened ...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1668349400630.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47285iEA889E8F1AC50AB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1668349400630.png" alt="hogi_1-1668349400630.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
myVariables = Expr(Variables( X( :height ), Y( :weight ) ));
//myVariables = Insert(Expr(myVariables), Expr(Overlay(:sex)));
Substitute(Expr( Graph Builder(
Variables( X( :height ), Y( :weight ) ),
	Name Expr(myVariables))),"hallo","hello")
	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:02:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-tracing-JMP-tries-to-quot-help-quot/m-p/568587#M77925</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-09T16:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error tracing: JMP tries to "help"</title>
      <link>https://community.jmp.com/t5/Discussions/Error-tracing-JMP-tries-to-quot-help-quot/m-p/568628#M77926</link>
      <description>&lt;P&gt;wish to write as well to the log the line of code at which the error "happens":&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/JMP-Wish-List/jmp-embedded-log-additional-functionality/idi-p/568614" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/JMP-Wish-List/jmp-embedded-log-additional-functionality/idi-p/568614&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 10:30:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Error-tracing-JMP-tries-to-quot-help-quot/m-p/568628#M77926</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-12-13T10:30:47Z</dc:date>
    </item>
  </channel>
</rss>

