From ac9451fa320c3e6d7a2ecca52b55915883de3209 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 19 Aug 2011 15:51:46 +0200 Subject: Doc: update debugging example Change-Id: I7424f24561c91057be2f10bb0009dbe94e4db2fb Reviewed-on: http://codereview.qt.nokia.com/3275 Reviewed-by: Qt Sanity Bot Reviewed-by: hjk --- doc/images/qtcreator-debugger-views.png | Bin 32217 -> 25836 bytes doc/images/qtcreator-setting-breakpoint1.png | Bin 15311 -> 16899 bytes doc/images/qtcreator-setting-breakpoint2.png | Bin 9148 -> 8474 bytes doc/images/qtcreator-watcher.png | Bin 18517 -> 18355 bytes doc/qtcreator.qdoc | 16 ++++++---------- 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 Binary files a/doc/images/qtcreator-debugger-views.png and b/doc/images/qtcreator-debugger-views.png differ diff --git a/doc/images/qtcreator-setting-breakpoint1.png b/doc/images/qtcreator-setting-breakpoint1.png index 5a4a5d99ae..3b6e275246 100644 Binary files a/doc/images/qtcreator-setting-breakpoint1.png and b/doc/images/qtcreator-setting-breakpoint1.png differ diff --git a/doc/images/qtcreator-setting-breakpoint2.png b/doc/images/qtcreator-setting-breakpoint2.png index 13ef89522b..8687b36d01 100644 Binary files a/doc/images/qtcreator-setting-breakpoint2.png and b/doc/images/qtcreator-setting-breakpoint2.png differ diff --git a/doc/images/qtcreator-watcher.png b/doc/images/qtcreator-watcher.png index 9babacd0f6..14399eba7b 100644 Binary files a/doc/images/qtcreator-watcher.png and b/doc/images/qtcreator-watcher.png 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 -- cgit v1.2.3