Hello Miguel,

The simplest way to do that, especially when debugging, is to raise an
error.

raise ValueError()

Best regards,

Mathieu Westphal

On Fri, Mar 30, 2018 at 8:52 AM, Miguel Aguirre <[email protected]>
wrote:

> Hello,
>
>
>
> 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.  There is way to interrupt the process?
>
>
>
> Thanks in advance.
>
> Miguel Angel AGUIRRE
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to