Debugmanager fixes