Debugging Hallucinations And Prompt Injection