A judge will set a trial date for an actor accused of trying to murder his ex-girlfriend.

Shelley Malil was arrested in August, after authorities found the victim in her San Marcos home. She had been stabbed more than 20 times.

Malil is best-known for a supporting role in the "40 Year Old Virgin."

If convicted, he faces life in prison.