Debugger: More robust metaobject extraction

Change-Id: I359cbdcfb0594b988e041c06efa44c6fd85a8d65
Reviewed-by: Christian Stenger <christian.stenger@digia.com>