Here few entry point for searching
Add of "Dereference" context menu
plugins\debuggergdb\debuggergdb.cpp
void DebuggerGDB::OnWatchesContextMenu(wxMenu &menu, const cbWatch &watch, wxObject *property, int &disabledMenus)
Entry is registered with a standard item,
that is defined in EVT_MENU at top of file
"Locals" and "functions arguments" are inserted in DebuggerGDB::DoWatches as special entries
Handling of watches (standard to all debugger plugins)