Not been to Budapest but really enjoyed Dubrovnik. Beautiful walled city and some stunning beaches
I've heard Dubrovnik is absolutely swamped with tourists these days. For that reason, I'd go for Budapest. It depends what you're looking for though...
We have done a few city breaks.. I loved krakow for the food and drink and history of the place.. so somewhere like that would be ideal..
Bear in mind that everything in Dubrovnik will cost you 10x what it would cost in Budapest.
Personally I love Budapest, so much to see and do and the weather in summer is exceptional. Really affordable city as well.
Slight exaggeration.
Dubrovnik the nicer of the two, though probably best to visit outside of peak season