Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
186fd07d
Commit
186fd07d
authored
May 16, 2011
by
Leena Miettinen
Browse files
Doc: rename 'watchers' as 'expressions'
And 'watchpoints' as 'data breakpoints'
parent
aababf0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/qtcreator.qdoc
View file @
186fd07d
...
...
@@ -198,7 +198,7 @@
\
l
{
http
://
qt
.
nokia
.
com
/
doc
/
4.7
/
qmake
-
tutorial
.
html
#
adding
-
platform
-
specific
-
source
-
files
}{
scopes
}
to
select
the
file
to
process
depending
on
which
platform
qmake
is
run
on
.
Items
such
as
open
files
,
breakpoints
,
and
watcher
s
are
stored
in
Items
such
as
open
files
,
breakpoints
,
and
evaluated
expression
s
are
stored
in
sessions
.
They
are
not
considered
to
be
part
of
the
information
shared
across
platforms
.
...
...
@@ -398,7 +398,7 @@
as
much
as
possible
without
losing
the
power
of
the
native
debuggers
.
In
addition
to
the
generic
IDE
functionality
provided
by
stack
view
,
views
for
locals
and
watcher
s
,
registers
,
and
so
on
,
Qt
Creator
includes
locals
and
expression
s
,
registers
,
and
so
on
,
Qt
Creator
includes
features
to
make
debugging
Qt
-
based
applications
easy
.
The
debugger
plugin
understands
the
internal
layout
of
several
Qt
classes
,
for
example
,
QString
,
the
Qt
containers
,
and
most
importantly
QObject
...
...
@@ -411,7 +411,7 @@
You
can
use
the
Qt
Creator
\
gui
Debug
mode
to
inspect
the
state
of
the
application
while
debugging
JavaScript
functions
.
You
can
set
breakpoints
,
view
call
stack
trace
,
and
examine
locals
and
watcher
s
.
view
call
stack
trace
,
and
examine
locals
and
expression
s
.
When
the
application
is
interrupted
by
a
breakpoint
,
you
can
use
the
\
gui
{
QML
Script
Console
}
to
execute
JavaScript
expressions
in
the
current
context
.
You
can
...
...
@@ -7166,7 +7166,7 @@
\
list
\
o
Open
projects
with
their
dependencies
(
including
SUBDIRS
projects
)
\
o
Open
editors
\
o
Breakpoints
and
watche
s
\
o
Breakpoints
and
expression
s
\
o
Bookmarks
\
endlist
...
...
@@ -7788,7 +7788,7 @@
\endlist
You can also set
w
at
ch
points to monitor the changes in a block of memory
You can also set
d
at
a break
points to monitor the changes in a block of memory
at a particular address when a program is running.
The interruption of a program by a breakpoint can be restricted with
...
...
@@ -7797,7 +7797,7 @@
To set a breakpoint at a particular line you want the program to stop,
click the left margin or press \key F9 (\key F8 for Mac OS X).
To set breakpoints
and watchpoints
select \gui {Add Breakpoint...} in
To set breakpoints
,
select \gui {Add Breakpoint...} in
the context menu in the \gui Breakpoints view.
\image qtcreator-add-breakpoint.png "Add Breakpoints" dialog
...
...
@@ -7815,17 +7815,17 @@
while it is running under the debugger'
s
control
.
Breakpoints
are
saved
together
with
a
session
.
\
section2
Setting
W
at
ch
points
\
section2
Setting
D
at
a
Break
points
To
set
a
w
at
ch
point
at
an
address
:
To
set
a
d
at
a
break
point
at
an
address
:
\
list
1
\
o
Right
-
click
in
the
\
gui
Breakpoints
view
to
open
the
context
menu
,
and
select
\
gui
{
Add
Breakpoint
...}.
\
o
In
the
\
gui
{
Breakpoint
type
}
field
,
select
\
gui
{
Address
(
Watchpoint
)
}.
\
o
In
the
\
gui
{
Breakpoint
type
}
field
,
select
\
gui
{
Break
on
data
access
at
fixed
address
}.
\
o
In
the
\
gui
Address
field
,
specify
the
address
of
the
memory
block
.
...
...
@@ -7834,8 +7834,8 @@
\
endlist
If
the
address
is
displayed
in
the
\
gui
{
Locals
and
Expressions
}
view
,
you
can
select
\
gui
{
Add
W
at
ch
point
at
Object
's Address} in the context menu to set
the
w
at
ch
point.
select
\
gui
{
Add
D
at
a
Break
point
at
Object
's Address} in the context menu to set
the
d
at
a break
point.
\section1 Viewing Call Stack Trace
...
...
@@ -7924,7 +7924,7 @@
You can enable tooltips in the main editor displaying this information.
For more information, see \l{Showing Tooltips in Debug Mode}.
\note The set of
watched item
s is saved in your session.
\note The set of
evaluated expression
s is saved in your session.
\section1 Directly Interacting with Native Debuggers
...
...
@@ -7938,8 +7938,8 @@
\note Usually, you do not need this feature, because Qt Creator provides
you with better ways to handle the task. For example, instead of using the
GDB \c print command from the command line, you can
create a watcher item
in the \gui{Locals and Expressions} view
and examine the expression there
.
GDB \c print command from the command line, you can
evaluate an expression
in the \gui{Locals and Expressions} view.
\section1 Debugging C++ Based Applications
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment