UnstartedAppWatcherDialog Class | Extending Qt Creator Manual

Extending Qt Creator Manual | UnstartedAppWatcherDialog

Extending Qt Creator Manual 4.7.0

# UnstartedAppWatcherDialog Class

(Debugger::Internal::UnstartedAppWatcherDialog)

The UnstartedAppWatcherDialog class provides ability to wait for a certain application to be started, after what it will attach to it. More...

Header: | #include <UnstartedAppWatcherDialog>

## Detailed Description

The UnstartedAppWatcherDialog class provides ability to wait for a certain application to be started, after what it will attach to it.

This dialog can be useful in cases where automated scripts are used in order to execute some tests on application. In those cases application will be started from a script. This dialog allows user to attach to application in those cases in very short time after they are started.

In order to attach, user needs to provide appropriate kit (for local debugging) and application path.

After selecting start, dialog will check if selected application is started every 10 miliseconds. As soon as application is started, QtCreator will attach to it.

After user attaches, it is possible to keep dialog active and as soon as debugging session ends, it will start watching again. This is because sometimes automated test scripts can restart application several times during tests.