public static void deleteDebugger(final AbstractSQLProvider provider,final DebuggerTemplate debugger) throws CouldntDeleteException {
  Preconditions.checkNotNull(debugger,"IE00709: Debugger template argument can not be null");
  Preconditions.checkArgument(debugger.inSameDatabase(provider),"IE00710: Debugger template is not part of this database");
  NaviLogger.info("Deleting debugger %d",debugger.getId());
  PostgreSQLHelpers.deleteById(provider.getConnection(),CTableNames.DEBUGGERS_TABLE,debugger.getId());
}

public static void deleteDebugger ( final AbstractSQLProvider provider , final DebuggerTemplate debugger ) throws CouldntDeleteException { Preconditions . checkNotNull ( debugger , "IE00709: Debugger template argument can not be null" ) ; Preconditions . checkArgument ( debugger . inSameDatabase ( provider ) , "IE00710: Debugger template is not part of this database" ) ; NaviLogger . info ( "Deleting debugger %d" , debugger . getId ( ) ) ; PostgreSQLHelpers . deleteById ( provider . getConnection ( ) , CTableNames . DEBUGGERS_TABLE , debugger . getId ( ) ) ; }
deletes a debugger template from the database . the given debugger template must be stored in the database connected to by the provider argument .
