The case against her was adjourned at Dun Laoghaire District Court for the preparation of a probation report.
O'Connor, with an address at Rockford Park, Blackrock, pleaded guilty to two counts of public intoxication.
The court heard gardai on patrol at Rochestown Avenue, Dun Laoghaire, at 12.20am on October 18 found the accused standing in the middle of the road. She was shouting unintelligibly at passers-by and was extremely intoxicated. She was arrested for her own safety.
On November 16, gardai were called to Stradbrook Close, Blackrock, at 4.30pm. When they arrived, they again found O'Connor in a highly intoxicated state.
As they spoke to her, she attempted to run out in front of a passing car and gardai arrested her because they feared for her safety.
O'Connor was going through a separation and was trying to secure council housing, her solicitor, Jonathan Dunphy, said.
Of her three children, the youngest was aged two.
Judge John O'Connor adjourned the case to February 1 for a probation report.