Review Request: Add Thread and Frame Information on Execution

David Narváez david.narvaez at computer.org
Tue Aug 28 12:58:52 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105210/
-----------------------------------------------------------

(Updated Aug. 28, 2012, 12:58 p.m.)


Review request for KDevelop.


Changes
-------

FIxed the command of the unit test and removed unneeded qWarnings.


Description
-------

Moved the code that adds frame and thread information when not present in the command already from the queueCmd method to the executeCmd method and added some info at the debug strings to make clear that the queued command will be modified upon execution. This is needed in order to be able to queue commands whose information depend on previous commands in the same queue.


This addresses bug 301287.
    http://bugs.kde.org/show_bug.cgi?id=301287


Diffs (updated)
-----

  debuggers/gdb/debugsession.cpp ed3598e 
  debuggers/gdb/unittests/gdbtest.h 3f60a74 
  debuggers/gdb/unittests/gdbtest.cpp 56c69f3 

Diff: http://git.reviewboard.kde.org/r/105210/diff/


Testing
-------

1. Set up a breakpoint in a debug project
2. Add a variable to the watch list
3. Check the debugging output about the queued command and executed command.

Previously, these two would be the same. After this patch, the executed command has the --thread and --frame parameters.


Thanks,

David Narváez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120828/78c5688d/attachment.html>


More information about the KDevelop-devel mailing list