To preheat the glass without breaking it, stand a metal spoon (a good conductor of heat) in the glass while you fill it with very hot water.
(you; fill; it; with very hot water)
you
fill
it with very hot water