Improved memory usage of the debugger.

Change-Id: Ifba101ef4ddba8db4983d9cbf768f8e4a40f11bd
Signed-off-by: mstegmaier <michael-1.stegmaier@uni-ulm.de>