Commit ac9451fa authored by Leena Miettinen's avatar Leena Miettinen Committed by hjk

Doc: update debugging example

Change-Id: I7424f24561c91057be2f10bb0009dbe94e4db2fb
Reviewed-on: http://codereview.qt.nokia.com/3275Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 17a9697c
doc/images/qtcreator-debugger-views.png

31.5 KB | W: | H:

doc/images/qtcreator-debugger-views.png

25.2 KB | W: | H:

doc/images/qtcreator-debugger-views.png
doc/images/qtcreator-debugger-views.png
doc/images/qtcreator-debugger-views.png
doc/images/qtcreator-debugger-views.png
  • 2-up
  • Swipe
  • Onion skin
doc/images/qtcreator-watcher.png

18.1 KB | W: | H:

doc/images/qtcreator-watcher.png

17.9 KB | W: | H:

doc/images/qtcreator-watcher.png
doc/images/qtcreator-watcher.png
doc/images/qtcreator-watcher.png
doc/images/qtcreator-watcher.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment