<div dir="ltr"><div><div><div>Hello Miguel,<br><br></div>The simplest way to do that, especially when debugging, is to raise an error.<br><br>raise ValueError()<br></div><br></div>Best regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Fri, Mar 30, 2018 at 8:52 AM, Miguel Aguirre <span dir="ltr"><<a href="mailto:aguirre.utn@gmail.com" target="_blank">aguirre.utn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">


















<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Hello,<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"><span> </span></span><span style="font-size:11pt"> </span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">I’m testing some macros and Python Shell scripts. One of them requires an iteration: it places
the slice plane at several positions in order to integrate values at each
position. However, I found that once the macro/script is executed, it is impossible
to stop it (which annoys the debugging process). I already tested
"exit()" command in the Python Shell but it does not works. <span> </span>There is way to interrupt the process?<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"><span> </span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(34,34,34);background:white" lang="EN-US">Thanks in advance.</span><span lang="EN-US"><span></span></span></p>





<div><div class="m_-6846814153912544821m_-3936831340515869046gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div></div><div>Miguel Angel AGUIRRE</div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>