Attach the debugger to starting processes
To instruct the debugger to watch an application process and to attach to it when it starts:
- Go to Debug > Start Debugging > Attach to Unstarted Application.
- In Kit, select the build and run kit to use for building the project.
- In Executable, specify the path to the application executable.
- Select Reopen dialog when application finishes to return to this dialog when the application is closed.
- Select Continue on attach to instruct the debugger to keep the application running after attaching to it.
- Select Start Watching to wait for the application process to start.
See also Activate kits for a project, How To: Debug, Debugging, Debuggers, and Debugger.