[Debugger] Implemented a SearchEqualFunc callback for the treeview's interactive search

Fixes bug #12109