title: Completely pausing a program using a DLL for debugging memory
body: <p>I want to be able to &quot;pause&quot; a program by using a DLL so I can debug an error as the memory of the program keeps getting instantly overwritten. I can attempt to do this by opening a console window and dragging/highlighting within it, which pauses the process completely. Is there a code approach to this which can mimic this behaviour? Code highlighting to pause is annoying as it is imprecise and a pain to do manually</p>