Page 1 of 1

Codelite Hanging when debugging

Posted: Mon Jul 29, 2019 11:08 pm
by Blink123123
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.

Re: Codelite Hanging when debugging

Posted: Wed Jul 31, 2019 3:17 am
by eranif
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

Re: Codelite Hanging when debugging

Posted: Wed Jul 31, 2019 4:57 pm
by Blink123123
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.

Re: Codelite Hanging when debugging

Posted: Wed Jul 31, 2019 9:04 pm
by eranif
Can you paste here a minimal working code (compile-able) that I can use as a test case?

Re: Codelite Hanging when debugging

Posted: Mon Aug 12, 2019 3:21 pm
by Blink123123
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