Doc: Update examples on how to start debugging from the command line

Task-number: QTCREATORBUG-9484

Change-Id: Ic5da00c48eb185dc3cd842812e7c36cfefbb6776
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
hjk
2013-06-06 14:49:55 +02:00
parent e2a727c450
commit 34261e03cb
2 changed files with 35 additions and 5 deletions

View File

@@ -726,15 +726,17 @@
attach it to a running process, specify the process ID as a parameter for
the \c {-debug} option. To examine a core file, specify the file name.
\QC executes all the necessary steps, such as searching for
the binary that belongs to a core file.
the binary that belongs to a core file. To connect to a debug server,
specify the server location and port number.
For example:
\list
\li \c {C:\qtcreator\bin>qtcreator -debug 2000}
\li \c {C:\qtcreator\bin>qtcreator -debug core.2000}
\li \c {C:\qtcreator\bin>qtcreator -debug core=core.2000}
\li \c {C:\qtcreator\bin>qtcreator -debug some.exe,core=core}
\li \c {C:\qtcreator\bin>qtcreator -debug server=some.dot.com:4251}
\endlist