How can I clean a glass container with burnt sugar residues?

One of my students left sugar in the fire for so long and now I can’t take the residue off. It’s in the bottom of a glass beaker and I have tried with the usual soap and it doesn’t work.