I obtained a finished with exit code 2 using kile when compiling the bibliography. I presume there is an error in how I've written the bibliography (.bib) file.

Is there a sort of debugger which indicates what is actually the error?


1 Answer 1


You have to open the file .blg that was produced. In that file there are all the indications about the compilation of the bibliography and, if any, the detailed description of the errors.

  • Welcome to TeX.SX! You can have a look on our our starter page to familiarize yourself further with our format. Commented Jun 27, 2013 at 10:02
  • 1
    there is no blg file ... not an answer Commented Sep 22, 2020 at 8:16

Not the answer you're looking for? Browse other questions tagged .