adjust the heat as necessary to keep them cooking at a steady pace, but avoid burning. let your nose and your tastebuds be your judge -- when you can't resist eating them straight out of the pan, they're done. it can take up to an hour to caramelize the onions, and if anyone tells you differently they're lying.