This change:
Index: src/plugins/debuggergdb/parsewatchvalue.cpp
===================================================================
--- src/plugins/debuggergdb/parsewatchvalue.cpp (revision 7112)
+++ src/plugins/debuggergdb/parsewatchvalue.cpp (working copy)
@@ -258,6 +258,8 @@
bool ParseGDBWatchValue(GDBWatch &watch, wxString const &value, int &start, int length)
{
watch.SetDebugValue(value);
+ // erase possible "Cannot access memory at address" at structural types
+ watch.SetValue(wxEmptyString);
watch.MarkChildsAsRemoved();
int position = start;
requires a unittest, explanation and steps to reproduce.
Also you're using C++, not C# or any other "modern" language, so "this->" is not required (99.99% of the time), when accessing members of the class.
Please don't do it.
I've not tried the patch yet, will do so tomorrow...