Stopping a Running Method When testing an application, a method may take a very long time to complete, or it may contain an endless loop. You can stop running a method when testing applications by pressing Ctrl+Pause.