Melt the butter with the oil in a heavy pot, add the onion and sugar and cook over medium heat, stirring, until deep golden brown.