# Pause simulation from within driver

**URL:** https://discourse.paraview.org/t/pause-simulation-from-within-driver/5133
**Category:** In Situ Support
**Created:** [August 18, 2020, 6:45pm UTC](https://discourse.paraview.org/t/pause-simulation-from-within-driver/5133 "2020-08-18T18:45:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Caian](https://discourse.paraview.org/user_avatar/discourse.paraview.org/caian/32/4728_2.png) [@Caian](https://discourse.paraview.org/u/Caian)
#### Post date: [August 18, 2020, 6:45pm UTC](https://discourse.paraview.org/t/pause-simulation-from-within-driver/5133/1 "2020-08-18T18:45:50Z")

</div>

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,

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [August 19, 2020, 10:54am UTC](https://discourse.paraview.org/t/pause-simulation-from-within-driver/5133/2 "2020-08-19T10:54:24Z")

</div>

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).
