[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevelop/languages/cpp/debugger
From: Vladimir Prus <ghost () cs ! msu ! su>
Date: 2008-04-26 21:20:54
Message-ID: 1209244854.322556.30721.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 801576 by vprus:
Report variable as out of scope when gdb exits. Try to recreate at each stop.
M +6 -0 variablecollection.cpp
--- trunk/KDE/kdevelop/languages/cpp/debugger/variablecollection.cpp #801575:801576
@@ -87,6 +87,7 @@
void Variable::handleCreation(const GDBMI::Value& r)
{
+ inScope_ = true;
varobj_ = r["name"].literal();
setHasMore(r["numchild"].toInt());
itemData[1] = r["value"].literal();
@@ -238,6 +239,8 @@
for (i = allVariables_.begin(), e = allVariables_.end(); i != e; ++i)
{
i.value()->varobj_.clear();
+ i.value()->inScope_ = false;
+ i.value()->reportChange();
}
allVariables_.clear();
}
@@ -453,6 +456,9 @@
case thread_or_frame_changed:
+ // FIXME: probably should do this only on the
+ // first stop.
+ watches()->reinstall();
update();
#if 0
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic