1

I want to hang a Windows application (exe) for testing purposes. The goal is to see the (Not responding) status in the Task Manager.

  • 3
    You might want to consider attaching a debugger. – bwDraco May 10 '15 at 17:02
  • @DragonLor Please, post your comment as an answer. I'll select it. I have used x64dbg to pause the application. The status 'Not responding' doesn't appear, but the app is hung. Thx. – John Doe May 10 '15 at 18:56
  • Process Explorer has a pause/resume processes function. – qasdfdsaq Dec 5 '15 at 22:43
2

Attaching a debugger will pause the application.

  • The application is suspended when a debugger is attached. Although this may not trigger the "Not Responding" indicator, it will effectively stop execution of the application until it is allowed to continue in the debugger.
1

Another method is to use a project called "Win32 process suspend/resume tool" http://www.codeproject.com/Articles/2964/Win-process-suspend-resume-tool

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.