Ursula Louise Logue is accused of inflicting deep wounds to his leg and arm during a drinking binge at the house in Derry.
The 34-year-old, of Bealachmor Lower in the city, faces charges of causing grievous bodily harm with intent, and possessing an offensive weapon over the incident on Monday.
During a bail application on Friday, prosecutors said police were alerted by the ambulance service found the wounded man on a living room sofa.
He claimed Logue had stabbed him with a knife.
Officers found five knives in the room, but the accused was not present at the scene.
nstead, the court heard, she was located a short time later on the nearby Ringfort Road.
Crown lawyer Kate McKay said that following her arrest Logue stated: “There’s a knife set I own, there was an argument. He said, ‘pick a knife’ so I stabbed him.”
Later, the defendant claimed to have acted because she was in fear for her life.
Both her and the wounded man were said to have been drinking heavily a period of days.
Logue, whose three children live with another relative, alleged that he had grabbed her by the hair, pulled her to the ground and punched her.
She was unable to give further details of the stabbing, but claimed a knife from the kitchen had been used, according to the prosecution.
Referring to the alleged stabbing, Mrs McKay continued: “She said she was shocked by the level of injuries inflicted, and said she was disgusted by herself.”
It was also suggested that Logue may have difficulties in establishing self-defence, due to the number of wounds she allegedly inflicted.
Her barrister argued, however, that she has a workable case.
The court was also told the alleged victim has not provided a statement to police.
Adjourning the application, Mr Justice Colton requested a report on Logue’s level of cooperation with relevant authorities in unrelated matters.
The judge stressed: “I’m not closing the door (on bail).”