summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-08-08 11:30:52 +0200
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2013-08-13 09:27:21 +0200
commit2f6e5cf59cac5614ff8c21726e267b7d3f6d284f (patch)
tree9b3ec2e0aecff1409ca1f1ed531e21ef185eac61
parenta932c6ebca45773a0b83e984756771bd5a1b6516 (diff)
downloadqt-creator-2f6e5cf59cac5614ff8c21726e267b7d3f6d284f.tar.gz
Doc: attaching to running app while debugging
Change-Id: I3566c77bfb8466005db12fd4a77c861a07f69019 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
-rw-r--r--doc/src/debugger/qtquick-debugging.qdoc28
1 files changed, 24 insertions, 4 deletions
diff --git a/doc/src/debugger/qtquick-debugging.qdoc b/doc/src/debugger/qtquick-debugging.qdoc
index aba729b777..d1fcba0028 100644
--- a/doc/src/debugger/qtquick-debugging.qdoc
+++ b/doc/src/debugger/qtquick-debugging.qdoc
@@ -125,13 +125,33 @@
\list 1
- \li Start the application.
+ \li Build the application by using the appropriate configuration
+ parameters (if you build the application with \QC, it automatically
+ uses the correct configuration):
+
+ \list
+
+ \li Qt Quick 1: \c {CONFIG+=declarative_debug}
+
+ \li Qt Quick 2: \c {CONFIG+=qml_debug}
+
+ \endlist
+
+ \li Start the application with the following arguments:
+
+ \c {qmljsdebugger=port:<port>[,host:<ip address>][,block]}
+
+ Where \c port (mandatory) specifies the debugging port,
+ \c {ip address} (optional) specifies the IP address of the host
+ where the application is running, and \c block (optional) prevents
+ the application from running until the debug client connects to the
+ server. This enables debugging from the start.
\li Select \gui {Debug > Start Debugging > Attach to QML Port}.
- When debugging on the desktop, you can use the default values for
- the connection. When debugging on devices, enter the device IP
- address in the \gui Host field.
+ Choose the kit configured for the device where the application to
+ be debugged is running. The port number to use is displayed in the
+ standard output when the application starts.
\endlist