A pharmaceutical worker who broke into businesses and apartments to steal had turned to drug use after a relationship broke up, a court was told.
Oscar Chmielowski (26) began offending after his life went "completely off the rails".
Judge Olann Kelleher adjourned the case to give the accused time to pay compensation.
Chmielowski, of The Gables, Grangeview, Clondalkin, pleaded guilty to theft and criminal damage.
Gda Des Rogers told Dublin District Court the accused and others broke into a building in East Essex Street last August 24 by forcing the lock.
They made their way to one apartment, where they stole a wallet left on a dressing table.
They then broke into another apartment and took a laptop and two iPads. The total value of property taken was €1,700.
Last August 18, the accused went to Roches Pharmacy on Upper Rathmines Road and tried to prise open a rear door with a bar. He caused damage but did not gain entry.
He did it again at the adjoining Tesco Express and was seen on CCTV footage.
The court also heard he entered the locker room of a south Dublin gym last July 12, stealing a mobile phone and a wallet with two bank cards.
He used the cards at a pharmacy and shop.
Chmielowski later met gardai by appointment and made full admissions.
Originally from Poland, he had trained as an emergency technician and intended to become a paramedic but went "completely off the rails" when a relationship broke up, his lawyer said.
He began taking tranquillisers and speed and became homeless. He was now drug-free and working but would need time to get compensation.