Page 1 of 1

Crashing when adding compiler

Posted: Fri Jan 17, 2020 11:31 pm
by maiku
Hi,
I've been using CodeLite for just over a year now (v13.0.3, win 10 pro 64 bit) and quite literally never had a single issue with it, until today.

I figured I'd switch things up and switch the theme for the first time since I started started using it but when I hit the "apply" button after choosing a theme the program crashed with a "Not responding" message.
I restarted CodeLite and continued working like normal although when I hit F7 to compile I got a "compiler could not be found" message, so I went into the build settings and the whole list was empty. Now when I try to add a compiler, after selecting the folder and getting the choose name dialog, CodeLite just crashes.

I would greatly appreciate some help! Let me know what info you need.
Thanks a lot!

Re: Crashing when adding compiler

Posted: Sat Jan 18, 2020 2:18 am
by eranif
My guess is that the XML file the represents the compilers is empty/corrupted.
You could simply delete it and restart CodeLite

%appdata%\CodeLite\config\build_settings.xml

Re: Crashing when adding compiler

Posted: Sat Jan 18, 2020 2:25 am
by maiku
That sounds about right although I can't confirm it, I ended up just reinstalling CodeLite and setting up my compilers from scratch.

EDIT: It just happened again a couple months later and, it seems deleting the build_settings.xml file in %appdata%\CodeLite\config\ did indeed fix it. Gonna be backing that up from now on.