Texas Ranger David Armstrong says ear pods were found on the floor of Botham Jean's floor as he's questioned by defense attorney Robert Rogers, right, as he testifies in fired Dallas police officer Amber Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)

DALLAS (AP) — The judge in the murder trial of a white Dallas police officer who fatally shot her black neighbor in his apartment blocked the lead investigator from telling jurors Wednesday that he didn't think the shooting was a crime.

David Armstrong of the Texas Department of Public Safety testified for a second day in Amber Guyger's murder trial , but jurors weren't present when he shared his opinion that her actions were reasonable. Guyger has said she mistook Botham Jean's apartment for her own.

"I believe that she did perceive him as a deadly threat," Armstrong said while being questioned by the defense on the trial's third day.

District Judge Tammy Kemp ruled that the jury couldn't hear the Texas Ranger's opinion of the reasonableness of Guyger's actions. Last September, Armstrong signed an affidavit supporting Guyger's arrest for manslaughter.

Guyger, 31, was off duty but in uniform when she shot Jean, 26, a native of the Caribbean nation of St. Lucia who worked as an accountant in Dallas. A grand jury later charged her with murder.

Prosecutors have said Guyger should have noticed she was on the wrong floor while Guyger's attorneys have argued that she fired in self-defense based on the mistaken belief that Jean was a burglar.

She has said she parked on the fourth floor of the complex's garage rather than the third floor, where she lived. She then went to Jean's apartment — located directly above hers.

His door wasn't locked, defense attorneys say. Prosecutors say that when Guyger entered the apartment, the unarmed Jean was in his living room eating a bowl of vanilla ice cream.

In a frantic 911 call played in court Tuesday , Guyger, who was later fired from the force, says "I thought it was my apartment" nearly 20 times.

In the jury's presence, Armstrong testified Wednesday that going to the wrong apartment was common at the complex, especially on Guyger's and Jean's floors. Armstrong, who also testified Tuesday , says that even he had trouble determining which floor he was on while investigating the shooting.

"There were no clear obvious signs showing what level you were on," he testified.

Testimony was initially delayed Wednesday after Kemp told attorneys a female juror had a "professional relationship" with Armstrong. The juror was questioned in private about the matter, and testimony soon continued.

Judge Tammy Kemp meets with the attorneys at her bench upon their request during fired Dallas police officer Amber Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
Fired Dallas police officer Amber Guyger confers with her attorney before proceedings in her murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
Bertrum Jean, center, father of victim Botham Jean, leans his head away and covers his ears as police body camera footage is shown inside the courtroom outside the presence of the jury during fired Dallas police officer Amber Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
Dallas County District Attorney's digital multimedia analyst Chrisi Nobel, left, breaks down the timeline of events on the day of the murder to jury members as Assistant District Attorney Jason Hermus, right, presented a large version of it on an easel as Nobel testifies in fired Dallas police officer Amber Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
An image of fired Dallas police officer Amber Guyger's keys her neighbor Botham Jean's door is displayed as part of evidence presented by the prosecutor in Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
A large timeline of events on the day of the murder is presented by Assistant District Attorney Jason Hermus as Dallas County District Attorney's digital multimedia analyst Chrisi Nobel testifies in fired Dallas police officer Amber Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
Texas Ranger David Armstrong waits as defense attorney Robert Rogers, left, and Assistant District Attorney Jason Hermus, right, discuss evidence as Armstrong testifies in fired Dallas police officer Amber Guyger's murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)
Fired Dallas police officer Amber Guyger looks toward her attorney before proceedings in her murder trial, Wednesday, Sept. 25, 2019, in Dallas. Guyger is accused of shooting her unarmed black neighbor in his Dallas apartment.  (Tom Fox/The Dallas Morning News via AP, Pool)