A nurse who stole more than €300 worth of household goods was going through a "bad time", a court heard.
Danielle Cronin (31) had been through a relationship breakdown before she was caught stealing in a Marks & Spencer store.
Judge Paula Murphy fined her €200.
Cronin, of Mac Uilliam Par-ade, Tallaght, pleaded guilty to theft.
Blanchardstown District Court heard the incident happened at Marks & Spencer, Liffey Valley Shopping Centre, last February 17.
The accused entered the shop and took €387 worth of household goods. She passed all points of payment and was stopped outside the store by security, who called gardai.
She had previous convictions for offences, including theft.Traumatic
Cronin suffered from a number of medical conditions including epilepsy and depression, her solicitor Simon Fleming said.
She had qualified as a nurse but is not working.
Cronin had been in a long-term relationship which broke up late last year, and this had been traumatic for her.
She had gone through a "bad time" recently and understood that if she continued to "carry on with that behaviour" she could end up in prison.
Mr Fleming asked Judge Murphy for leniency and to give Cronin "some credit for the way she has dealt with the matter".
She had pleaded guilty so no witnesses were needed to come to court.
The property had been recovered so the issue of restitution did not come into it, Mr Fleming said.
"If your client continues in this vein, she is heading towards custody," Judge Murphy said.
She gave her six months to pay the fine.