Codelite Hanging when debugging

CodeLite installation/troubleshooting forum
Blink123123
CodeLite Curious
Posts: 4
Joined: Wed Apr 11, 2018 12:24 pm
Genuine User: Yes
IDE Question: C++
Contact:

Codelite Hanging when debugging

Post by Blink123123 » Mon Jul 29, 2019 11:08 pm

Hello,

I am on a fresh Debian 10 installation. I installed codelite and everything is working fine.

However, when I am debugging my program, if I press Watches codelite hangs and I am forced to exit.
Also, I am debugging an std::vector<float> with a length > 10 000, so whenever I reach a breakpoint when this vector is filled, the entire linux distro freezes and I am forced to "force shutdown" my pc.

I am using GCC compiler, but it feels as if the error is from codelite itself.

User avatar
eranif
CodeLite Plugin
Posts: 5933
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Hanging when debugging

Post by eranif » Wed Jul 31, 2019 3:17 am

This is probably coming from the GDB beautifier (python based)
This huge vector probably causes hangs and 100%.
As a workaround, disable the GDB pretty printing from:

Settings->GDB Settings->Display->Enable GDB pretty printing
Make sure you have read the HOW TO POST thread

Blink123123
CodeLite Curious
Posts: 4
Joined: Wed Apr 11, 2018 12:24 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Hanging when debugging

Post by Blink123123 » Wed Jul 31, 2019 4:57 pm

Still, same problem.

I was using ubuntu before with Codelite 12 I believe, and this never happened.
I will try re-installing Debian and try again.

If it is of any help, whenever I press Watches while debugging no matter where I am, even before any code runs, Codelite hangs.

User avatar
eranif
CodeLite Plugin
Posts: 5933
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Hanging when debugging

Post by eranif » Wed Jul 31, 2019 9:04 pm

Can you paste here a minimal working code (compile-able) that I can use as a test case?
Make sure you have read the HOW TO POST thread

Blink123123
CodeLite Curious
Posts: 4
Joined: Wed Apr 11, 2018 12:24 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite Hanging when debugging

Post by Blink123123 » Mon Aug 12, 2019 3:21 pm

Sorry for the late reply, I got busy with a few things.

The thing is that something went wrong during the OS installation setup, so I think there may be a problem from the OS itself.
I will test that first and get back to you.

Thank you for your help

Post Reply