User forums > Using Code::Blocks

Why does Code Blocks crash so many times on a Mac?

(1/2) > >>

jozemite:
Just downloaded it a few days ago and in the first 10 minutes of trying to learn it, it crashed over 4 times.

Just now it crashed about 5 times while changing the editor color, and once by adding a comment in my code. In fact, I just found out that it will crash 100% of the time I try changing the font.

What's up with that? Is reinstalling going to make it less buggy?

oBFusCATed:

--- Quote from: jozemite on August 31, 2015, 04:58:25 am ---What's up with that? Is reinstalling going to make it less buggy?

--- End quote ---
Nope. The font changing is a known problem...

ridge:
[Solved] Stop codeblocks from crashing on OSX.

1. Disable mis-behaving plugins.
In CodeBlocks: MenuBar->Plugins->Manage Plugins
Disable: Code completion, Keyboard shortcuts

2. Edit the codeblocks configuration file directly to change the font size.
(Don't use Settings->Editor to change the font size)
Note: CodeBlocks must not be running while you edit.
Edit ~/Library/Application Support/codeblocks/default.conf
Search for FONT
To change the font size from 10 to 12, change:
<![CDATA[0;10;75;90;90;0;Monaco;0]]>
to:
<![CDATA[0;12;75;90;90;0;Monaco;0]]>
Search for LOG_FONT_SIZE
To change the log font size, change 8 to something else:
<LOG_FONT_SIZE int="8" />
Now, start CodeBlocks to see how you like new font size settings.

BlueHazzard:
just out of curiosity:

--- Quote from: oBFusCATed on August 31, 2015, 08:48:56 am ---Nope. The font changing is a known problem...

--- End quote ---
is this a wxWidgets misbehavior but why then does this work?

--- Quote from: ridge on January 12, 2017, 09:16:49 pm ---(Don't use Settings->Editor to change the font size)
Note: CodeBlocks must not be running while you edit.
Edit ~/Library/Application Support/codeblocks/default.conf
Search for FONT
To change the font size from 10 to 12, change:
<![CDATA[0;10;75;90;90;0;Monaco;0]]>
to:
<![CDATA[0;12;75;90;90;0;Monaco;0]]>
Search for LOG_FONT_SIZE
To change the log font size, change 8 to something else:
<LOG_FONT_SIZE int="8" />
Now, start CodeBlocks to see how you like new font size settings.

--- End quote ---

ridge:
There is a known problem and there is a work-around.
The problem won't be fixed until an OSX developer volunteer fixes it.
For now, you can use the work-around.

Navigation

[0] Message Index

[#] Next page

Go to full version