aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2011-08-19 15:51:46 +0200
committerhjk <qthjk@ovi.com>2011-08-19 15:57:37 +0200
commitac9451fa320c3e6d7a2ecca52b55915883de3209 (patch)
tree3850adcc74b23991192dacc4710c21d606421f20
parent17a9697c33fd5287807ec993002400ae1de69f57 (diff)
Doc: update debugging example
Change-Id: I7424f24561c91057be2f10bb0009dbe94e4db2fb Reviewed-on: http://codereview.qt.nokia.com/3275 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
-rw-r--r--doc/images/qtcreator-debugger-views.pngbin32217 -> 25836 bytes
-rw-r--r--doc/images/qtcreator-setting-breakpoint1.pngbin15311 -> 16899 bytes
-rw-r--r--doc/images/qtcreator-setting-breakpoint2.pngbin9148 -> 8474 bytes
-rw-r--r--doc/images/qtcreator-watcher.pngbin18517 -> 18355 bytes
-rw-r--r--doc/qtcreator.qdoc16
5 files changed, 6 insertions, 10 deletions
diff --git a/doc/images/qtcreator-debugger-views.png b/doc/images/qtcreator-debugger-views.png
index cffb86bbfa..b7e6d19b89 100644
--- a/doc/images/qtcreator-debugger-views.png
+++ b/doc/images/qtcreator-debugger-views.png
Binary files differ
diff --git a/doc/images/qtcreator-setting-breakpoint1.png b/doc/images/qtcreator-setting-breakpoint1.png
index 5a4a5d99ae..3b6e275246 100644
--- a/doc/images/qtcreator-setting-breakpoint1.png
+++ b/doc/images/qtcreator-setting-breakpoint1.png
Binary files differ
diff --git a/doc/images/qtcreator-setting-breakpoint2.png b/doc/images/qtcreator-setting-breakpoint2.png
index 13ef89522b..8687b36d01 100644
--- a/doc/images/qtcreator-setting-breakpoint2.png
+++ b/doc/images/qtcreator-setting-breakpoint2.png
Binary files differ
diff --git a/doc/images/qtcreator-watcher.png b/doc/images/qtcreator-watcher.png
index 9babacd0f6..14399eba7b 100644
--- a/doc/images/qtcreator-watcher.png
+++ b/doc/images/qtcreator-watcher.png
Binary files differ
diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc
index 3025f9645a..9d877fd0b1 100644
--- a/doc/qtcreator.qdoc
+++ b/doc/qtcreator.qdoc
@@ -8888,17 +8888,13 @@
This section uses the \l{Creating a Qt Widget Based Application}{TextFinder} example to
illustrate how to debug Qt C++ applications in the \gui Debug mode.
- TextFinder
- reads a text file into
- QString and then displays it with QTextEdit.
- To look at the example QString, \c{line}, and see the
- stored data, place a breakpoint and view the QString object
- data in textfinder.cpp, as follows:
+ TextFinder reads a text file into QString and then displays it with
+ QTextEdit. To look at the TextFinder class and see the stored data, place
+ a breakpoint in textfinder.cpp, as follows:
\list 1
\o Click in between the line number and the window border on the line
- where we invoke \l{http://doc.qt.nokia.com/4.7/qtextedit.html#plainText-prop}{setPlainText()}
- to set a breakpoint.
+ where we change the cursor position to set a breakpoint.
\image qtcreator-setting-breakpoint1.png
@@ -8912,8 +8908,8 @@
\o To remove a breakpoint, right-click it and select \gui{Delete Breakpoint}.
- \o To view the contents of \c{line}, go to the \gui{Locals and
- Expressions} view.
+ \o To view the base classes and data members of the TextFinder class,
+ go to the \gui{Locals and Expressions} view.
\image qtcreator-watcher.png