Stovetop method
Medium heat, then hands off
Start at medium heat with constant stirring until the sugar dissolves and the mixture goes clear. At that point, stop stirring. Let it sit at a low simmer and let the water cook off. Stirring past that stage encourages the sugar to crystallize and gives you a grainy syrup instead of a smooth butter spread. Watch the pan, not your timer: a brown sugar butter syrup will turn from amber to a deep caramel in under a minute once the water is gone.
If it smells sharp rather than caramel, it has gone past where you want it. A waffle house style butter spread recipe lives or dies on this window. There is no fixing a burnt sugar syrup — coffee grounds, milk, a splash of vanilla: none of them cover scorch. Start over. It takes six minutes and the second pan is always the better one.