ValgrindPart Class Reference
Valgrind is a tool that helps you find memory management problems in programs. More...
#include <valgrind_part.h>
Inheritance diagram for ValgrindPart:

Public Member Functions | |
ValgrindPart (QObject *parent, const char *name, const QStringList &) | |
~ValgrindPart () | |
void | runValgrind (const QString &exec, const QString ¶meters, const QString &valExec, const QString &valParameters) |
void | savePartialProjectSession (QDomElement *el) |
void | restorePartialProjectSession (const QDomElement *el) |
To restore any settings which differs from project to project, you can override this base class method to read in from a certain subtree of the project session file. | |
Private Slots | |
void | slotExecValgrind () |
void | slotKillValgrind () |
void | slotStopButtonClicked (KDevPlugin *which) |
void | receivedStdout (KProcess *, char *, int) |
void | receivedStderr (KProcess *, char *, int) |
void | processExited (KProcess *) |
void | loadOutput () |
void | projectOpened () |
Private Member Functions | |
void | getActiveFiles () |
void | appendMessage (const QString &message) |
void | appendMessages (const QStringList &lines) |
void | receivedString (const QString &str) |
void | clear () |
Private Attributes | |
QString | _lastExec |
QString | _lastParams |
QString | _lastValExec |
QString | _lastValParams |
KProcess * | proc |
QString | currentMessage |
QString | lastPiece |
QStringList | activeFiles |
int | currentPid |
QGuardedPtr< ValgrindWidget > | m_widget |
Detailed Description
Valgrind is a tool that helps you find memory management problems in programs.http://developer.kde.org/~sewardj/
- Feature(s):
- Integrates Valgrind into KDevelop
- Bug:
- Describe a the 1st bug that you know of, but probably hasn't been reported yet. ..
Describe a the nth bug that you know of, but probably hasn't been reported yet.
- Requirement(s):
- Describe a the 1st requirement of your part.
Describe a the 2nd requirement of your part. ...
Describe a the nth requirement of your part.
- Todo:
- Describe a the 1st TODO of your part.
Describe a the 2nd TODO of your part. ...
Describe a the nth TODO of your part.
- F.A.Q.:
- First frequenly asked question about your part ? Answer.
Second frequenly asked question about your part ? Answer. ...
Last frequenly asked question about your part ? Answer.
- Note:
- First note text.
Second note text. ...
Last note text.
- Warning:
- First warning text.
Second warning text. ...
Last warning text.
Definition at line 16 of file valgrind_part.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 67 of file valgrind_part.cpp. References m_widget, KDevPlugin::mainWindow(), proc, and KDevMainWindow::removeView(). |
Member Function Documentation
|
Definition at line 133 of file valgrind_part.cpp. References activeFiles, appendMessage(), guessActiveItem(), m_widget, and message(). Referenced by appendMessage(), appendMessages(), and processExited(). |
|
Definition at line 232 of file valgrind_part.cpp. References appendMessage(), appendMessages(), currentMessage, and currentPid. Referenced by appendMessages(), and receivedString(). |
|
Definition at line 172 of file valgrind_part.cpp. References currentMessage, currentPid, lastPiece, and m_widget. Referenced by loadOutput(), and runValgrind(). |
|
Definition at line 102 of file valgrind_part.cpp. References activeFiles, KDevProject::allFiles(), KURL::cleanPath(), endl(), kdDebug(), KURL::path(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by loadOutput(), and runValgrind(). |
|
Definition at line 80 of file valgrind_part.cpp. References clear(), getActiveFiles(), and receivedString(). |
|
Definition at line 257 of file valgrind_part.cpp. References appendMessage(), KDevPlugin::core(), currentMessage, lastPiece, proc, processExited(), and KDevCore::running(). Referenced by processExited(). |
|
Definition at line 75 of file valgrind_part.cpp. References _lastExec. |
|
Definition at line 209 of file valgrind_part.cpp. References len, receivedStderr(), and receivedString(). Referenced by receivedStderr(). |
|
Definition at line 204 of file valgrind_part.cpp. References receivedStdout(). Referenced by receivedStdout(). |
|
Definition at line 214 of file valgrind_part.cpp. References appendMessages(), lastPiece, and receivedString(). Referenced by loadOutput(), receivedStderr(), and receivedString(). |
|
To restore any settings which differs from project to project, you can override this base class method to read in from a certain subtree of the project session file. During project loading, respectively project session (.kdevses) loading, this method will be called to give a chance to adapt the part to the newly loaded project. For instance, the debugger part might restore the set breakpoints from the previous debug session for the certain project.
Reimplemented from KDevPlugin. Definition at line 267 of file valgrind_part.cpp. References _lastExec, _lastParams, _lastValExec, _lastValParams, and restorePartialProjectSession(). Referenced by restorePartialProjectSession(). |
|
Definition at line 180 of file valgrind_part.cpp. References _lastExec, _lastParams, _lastValExec, _lastValParams, clear(), KProcess::clearArguments(), KDevPlugin::core(), getActiveFiles(), KProcess::isRunning(), m_widget, KDevPlugin::mainWindow(), proc, KDevMainWindow::raiseView(), KDevCore::running(), runValgrind(), and KProcess::start(). Referenced by runValgrind(), and slotExecValgrind(). |
|
Reimplemented from KDevPlugin. Definition at line 278 of file valgrind_part.cpp. References _lastExec, _lastParams, _lastValExec, _lastValParams, and savePartialProjectSession(). Referenced by savePartialProjectSession(). |
|
|
Definition at line 159 of file valgrind_part.cpp. References KProcess::kill(), and proc. Referenced by slotStopButtonClicked(). |
|
Definition at line 165 of file valgrind_part.cpp. References slotKillValgrind(), and slotStopButtonClicked(). Referenced by slotStopButtonClicked(). |
Member Data Documentation
|
Definition at line 45 of file valgrind_part.h. Referenced by projectOpened(), restorePartialProjectSession(), runValgrind(), savePartialProjectSession(), and slotExecValgrind(). |
|
Definition at line 45 of file valgrind_part.h. Referenced by restorePartialProjectSession(), runValgrind(), savePartialProjectSession(), and slotExecValgrind(). |
|
Definition at line 45 of file valgrind_part.h. Referenced by restorePartialProjectSession(), runValgrind(), savePartialProjectSession(), and slotExecValgrind(). |
|
Definition at line 45 of file valgrind_part.h. Referenced by restorePartialProjectSession(), runValgrind(), savePartialProjectSession(), and slotExecValgrind(). |
|
Definition at line 49 of file valgrind_part.h. Referenced by appendMessage(), and getActiveFiles(). |
|
Definition at line 47 of file valgrind_part.h. Referenced by appendMessages(), clear(), and processExited(). |
|
Definition at line 50 of file valgrind_part.h. Referenced by appendMessages(), and clear(). |
|
Definition at line 48 of file valgrind_part.h. Referenced by clear(), processExited(), and receivedString(). |
|
Definition at line 51 of file valgrind_part.h. Referenced by appendMessage(), clear(), runValgrind(), and ~ValgrindPart(). |
|
Definition at line 46 of file valgrind_part.h. Referenced by processExited(), runValgrind(), slotKillValgrind(), and ~ValgrindPart(). |
The documentation for this class was generated from the following files:
- parts/valgrind/valgrind_part.h
- parts/valgrind/valgrind_part.cpp