Doc: Describe "rettype" in "putCallItem" Dumper class

Not all Dumper class members are described, so remove or modify the
leading sentences before lists of members. Add a reference to
dumper.py.

Fixes: QTCREATORBUG-28404
Change-Id: Ib681c44f8ff952d2f2ac0a37a5daf12b4b2486d6
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Leena Miettinen
2022-11-14 10:50:54 +01:00
parent 9bfc0a5b26
commit d44a62d588

View File

@@ -1107,12 +1107,14 @@
\image qtcreator-cdb-options.png "CDB preferences" \image qtcreator-cdb-options.png "CDB preferences"
The following sections describe some of the widely-used Dumper classes and
members specified in \c qtcreator\share\qtcreator\debugger\dumper.py.
\section3 Dumper Class \section3 Dumper Class
The \c Dumper class contains generic bookkeeping, low-level, and convenience The \c Dumper class contains generic bookkeeping, low-level, and convenience
functions. functions:
The member functions of the \c Dumper class are the following:
\list \list
\li \c{putItem(self, value)} - The \e {master function} that handles \li \c{putItem(self, value)} - The \e {master function} that handles
@@ -1134,9 +1136,10 @@
self.putType("bool") self.putType("bool")
\endcode \endcode
\li \c{putCallItem(self, name, value, func, *args)} - Uses the native \li \c{putCallItem(self, name, rettype, value, func, *args)} - Uses the
debugger backend to place the function call \c func on the value native debugger backend to place the function call \c func returning
specified by \a {value} and output the resulting item. \c rettype on the value specified by \a {value} and to output the
resulting item.
Native calls are extremely powerful and can leverage existing Native calls are extremely powerful and can leverage existing
debugging or logging facilities in the debugged process, for debugging or logging facilities in the debugged process, for
@@ -1289,7 +1292,7 @@
classes, obliterating the need to use \e Debug builds of Qt for the purpose classes, obliterating the need to use \e Debug builds of Qt for the purpose
of object introspection. of object introspection.
The member functions of the \c{Dumper.Type} class are the following: The \c{Dumper.Type} class has the following widely-used member functions:
\list \list
@@ -1332,10 +1335,7 @@
\section3 Dumper.Field Class \section3 Dumper.Field Class
The \c{Dumper.Field} class describes a base class or a data member of a type The \c{Dumper.Field} class describes a base class or a data member of a type
object. object:
The member function and properties of the \c{Dumper.Field} class are the
following:
\list \list