Re: [Paraview] How to interrupt macros/Python script ?

2018-03-30 Thread Aron Helser
How does the debugger interact with python scripts in ParaView? In debugging stand-alone scripts, I'll often insert: import pdb; pdb.set_trace() to trigger the debugger. I suspect you might be able to use 'rdbg' and use that connection? -Aron On Fri, Mar 30, 2018 at 4:36 AM, Mathieu Westphal <

Re: [Paraview] How to interrupt macros/Python script ?

2018-03-30 Thread Mathieu Westphal
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 wrote: > Hello, > > > > I’m testing some macros and Python Shell scripts. One