Pause simulation from within driver

Is it possible to trigger a breakpoint or a pause in the simulation from within the application / driver? For instance, any call to CoProcess would wait? Our team also uses ParaView during the validation of our software, so being able to automatically stop and perform diagnostics would be of great help.

Thank you,

When CoProcess is called, the simulation code is indeed blocked until it returns. It should be possible, in the script that you are executing, to add logic to pause-until based on chosen approach - for example, look for a existence of a file (or absence of it) and sleep until file is removed (or added).