In a victim impact statement, the ex partner said she was "terrified" to hear Robertson had broken into her house.
He pleaded guilty in court to wilful damage and received a one week prison sentence, and was ordered to pay $60.68 reparation.
In an unrelated incident, Robertson was spotted on the corner of Ingestre and Purnell Streets on May 4 "holding and waving a knife around, looking intoxicated", police prosecutor Sergeant Rachel Willemsen said.
Police were called and found Robertson was under the influence of butane gas, from several gas cans he was carrying.
The area has a high amount of foot and road traffic at the time he was there, and is close to a school.
He pleaded guilty to possessing a knife in a public place, and Judge Cameron sentenced him to another week in prison.