[Debugger] Fixed grouping of non-public members

Fixes bug #12497