nemiver r635 - in trunk: . src/persp/dbgperspective src/persp/dbgperspective/menus
- From: dodji svn gnome org
- To: svn-commits-list gnome org
- Subject: nemiver r635 - in trunk: . src/persp/dbgperspective src/persp/dbgperspective/menus
- Date: Sun, 25 Nov 2007 21:35:22 +0000 (GMT)
Author: dodji
Date: 2007-11-25 21:35:21 +0000 (Sun, 25 Nov 2007)
New Revision: 635
ViewCVS link: http://svn.gnome.org/viewcvs/nemiver?rev=635&view=rev
Modified:
trunk/ChangeLog
trunk/src/persp/dbgperspective/menus/menus.xml
trunk/src/persp/dbgperspective/nmv-dbg-perspective.cc
Log:
add a "refresh locals" menu
* src/persp/dbgperspective/nmv-dbg-perspective.cc:
when gdb enters a function:
void foo ()
{
int i=0;
if (!i) {
string str;
/*blah ..*/
}
}
When we query gdb for the list of local variables of the function, it
only reports i. Not str. str becomes visible only when we step into
the scope of the "if" block, and we have no easy way to detect that
we entered the scope.
So I have added a "refresh locals" menu in the debugger to allow
nemiver to query gdb on demand to refresh the list of local variables.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]