The footpaths in Yangon are highly irregular to say the least! There are a range of pavement styles, and few are without major subsidence, large cracks, uneven joins, and/or gaping big holes! Most of the holes will be full of litter and beetle nut spittle, and look fairly gross. Not to mention the harm you could do to legs, shins, ankles and feet by an inadvertent misstep. So, even though you might want to gawp and take in the sights, just make sure you look where you are going.
I would also recommend that you wear sneakers/joggers or boots when walking around Yangon. The streets are very dirty, and there is plenty of unexpected litter and other waste lying around. Having your feet well covered may well be a good barrier, as well as providing adequate foot support.
We actually saw a lady rather indiscretely, pull up her longyi and take a wizz on the side of a bank in a busy street.