forked from qt-creator/qt-creator
debugger: reset memory cache after stepping
It's better when one wants up-to-date data...
This commit is contained in:
@@ -1200,6 +1200,7 @@ void TrkGdbAdapter::handleReadMemoryUnbuffered(const TrkResult &result)
|
||||
|
||||
void TrkGdbAdapter::handleStepInto(const TrkResult &result)
|
||||
{
|
||||
m_snapshot.reset();
|
||||
if (result.errorCode()) {
|
||||
logMessage("ERROR: " + result.errorString() + " in handleStepInto");
|
||||
// Try fallback with Step Over
|
||||
@@ -1225,6 +1226,7 @@ void TrkGdbAdapter::handleStepInto2(const TrkResult &result)
|
||||
|
||||
void TrkGdbAdapter::handleStepOver(const TrkResult &result)
|
||||
{
|
||||
m_snapshot.reset();
|
||||
if (result.errorCode()) {
|
||||
logMessage("ERROR: " + result.errorString() + "in handleStepOver");
|
||||
// Try fallback with Step Into
|
||||
|
||||
Reference in New Issue
Block a user