Author Topic: Code completion freezes C::B 12.11 on Ubuntu13.04  (Read 11669 times)

headphones54321

  • Guest
Code completion freezes C::B 12.11 on Ubuntu13.04
« on: May 23, 2013, 05:28:07 pm »
Hello,
I'm using ubuntu 13.04 64bit and code completion is causing a complete freeze of C::B.

There are a couple of interesting things to note about the behaviour:
1) I used C::B 12.11 for an entire day without issue, then it started freezing and it seems to be permanent.
2) I can open the project and browse around all the libraries, but as soon as I select the tab with the main function in it - frozen. I don't even get a cursor.

I tried reinstall from scratch, and deleting ~/.codeblocks but it keeps doing it.

Is there a setting I can try to resolve this? If not, can I help debug in anyway?

I really like the code completion feature, it's very handy.

Thanks.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Code completion freezes C::B 12.11 on Ubuntu13.04
« Reply #1 on: May 28, 2013, 05:04:00 am »
2) I can open the project and browse around all the libraries, but as soon as I select the tab with the main function in it - frozen. I don't even get a cursor.
Are there any crash report? See: 12 Q: How do I report a compilation problem on the forums?

If CC crashes, it mostly have some bugs in its parser.
I'm not sure you if you can supply your source file (or a minimal example), then I can test it.

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.