My dream of a perfect code formatter

I want to share with you my dream of what I consider a perfect code formatter:
Have you ever used an if statement with lots of conditions?
if (((condition1 && condition2) || condition3 || condition4) && condition5) {
Have you ever created a method with parameters composed by large strings?
method(AClassWithLargeNameLikeThis aParameterWithSuggestiveNameButAlsoLarge, AnotherClassWithLargeNameLikeThis anotherParameterWithSuggestiveNameButAlsoLarge, OneMoreClassWithLargeNameLikeThis oneMoreParameterWithSuggestiveNameButAlsoLarge) {
And so on...
I think it´s time to develop a better code formatter, with improved "GUI features". I mean, what if a "compressed if statement", and then when you click on this compressed if statement a "GUI window" appears, showing to you all the conditions defined in this if stamentent, in an very well organized way?

prometheuzz wrote:
jim.jones wrote:
duffymo wrote:
i think it's time to write smart code.It doesn´t have anything to do with "smart code". There are times in which you should write an if statement with many conditions. Which can, without a doubt, be written in a different, easier to understand, alternative.No. There are times in which you can´t do that. And I am affirming that. Maybe in an "immutable" system, or in a "semi-immutable" system, in which just few changes are done, you can rewrite the code in order to be easier to understand. But, do you know what I do everyday? I work as a programmer at a financial company. Business rules change all the time, and you have to adapt the system according to those changes
There are times in which you do not have other better alternatives. If you never wrote such an if statement, I´m sorry for what I´m gonna say, then I believe you´ve never developed a complex system in your life yet.Ah, I see: so someone who doesn't write (or has never written) an if statement with a lot of expressions in it, couldn't have written a "complex system"?Let me rephrase: I was absolutely wrong, if my phrase is set apart. But there is a context, the context of this thread, in which my phrase should be placed to make sense. I just said that because I thought the one who said "it´s time to write smart code" was thinking that an if statement with lots of conditions is absolutely unnecessary, and it never can be written. Are you happy now?
Let me guess: your definition of a "complex system" (whatever that is) is something that exceeds 3000 lines of code? Or some application that uses at least 8 design patterns?No. From where do you concluded that?
jim, you're already making an @ss of yourself here in your very first post!What´s wrong in my vert forst post?
>
Don´t get me wrong, please. I´m sorry, again.You are wrong.Let me guess. Are you having a bad day?

Similar Messages

  • ABAP Code Formatter

    Hi,
    I want a code formatter  for ABAP code which will look afte proper alignment of every staement as well as indentation according to my requirements. Pretty printer was used but the format is not as expected.
    Can anyone help.?

    Hi,
    Im afraid there is no other tool than Pretty printer available, so unless you want to write you own tool for formatting the source code, you'll have to stick to the Pretty printer
    Personally I find the Pretty printer Indentation and Keyword uppercase quite sufficient, and I don't see much point in having some special formatting - the next developer might use the Pretty printer on your code and your formatting is gone anyway...
    regards,
    Stano

  • Code Formatter

    I want to do a code formatter for COBOL , but have no idea how to do it. I want to plug it in eclipse (but that is the easy part ) . I was wondering if anyone has ever
    done or at least has an idea how to do the formatter. Not specifically for COBOL, any language will be great to know. If anyone has any information where i can find something on the topic ? :)
    Thank you in advance !

    I have no idea what you're asking, then. You want to know if someone has tried to write a code formatter, but one which is very very simple?
    Generally speaking, a code formatter is going to have to know at least some of syntax rules for the language it's formatting. So it will probably be at least as complex as a simple parser.
    Though perhaps some formatters are implemented as a collection of regular expression heuristics, or the like. Dunno.
    You might also want to look at Emacs or Vim syntax files.

  • Code formatter problem

    The code formatter handles the character sequence
    opening-bracket i closing-bracket
    as "start italic".
    But this is a very common idiom in Java code samples for  accessing an array by index. Thus all these Java code samples get damaged by this formatting.
    Can we fix the code formatting?
    Armin

    That's what I do but not every poster is aware of that before posting code. The bad thing is that not only the formatting, but that the code gets damaged.
    A fix could be to disable the italic tag inside a code tag.
    Armin
    Message was edited by: Armin Reichert

  • Code formatter breaking my literals asunder

    The code formatter should respect my literal new lines rather than breaking my literals asunder,
    ||ltrim(sys_connect_by_path("Customer Name", ':
    for one can not use a function such as chr(10) in sys_connect_by_path.

    Built in SQL Worksheet:
    create table a as select '1' a, '2' b from dual;
    create procedure p
    as
    begin
    for r in
    (select ltrim(sys_connect_by_path(a, ':
    from a
    connect by prior a = b
    loop
    null;
    end loop;
    end;
    As formatted (ctrl-F7) in SQL Dev proc editor:
    CREATE OR REPLACE
    PROCEDURE p
    AS
    BEGIN
    FOR r IN
    (SELECT ltrim(sys_connect_by_path(a, ':
    FROM a
    CONNECT BY prior a = b
    LOOP
    NULL;
    END LOOP;
    END;
    Furthermore, the formatter operation is not idempotent as exhibited by the result of a second ctrl-F7:
    CREATE OR REPLACE
    PROCEDURE p
    AS
    BEGIN
    FOR r IN
    (SELECT ltrim(sys_connect_by_path(a, ':
    FROM a
    CONNECT BY prior a = b
    LOOP
    NULL;
    END LOOP;
    END;
    About
    Oracle SQL Developer 3.1.07
    Version 3.1.07
    Build MAIN-07.42
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.07.42
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_11
    Oracle IDE     3.1.07.42
    Versioning Support     3.1.07.42
    Code Style Profiles xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SQLprofiles class="oracle.dbtools.proformatter.treePreferences.style.profile.CodingStyleSQLProfiles" xmlns="http://xmlns.oracle.com/jdeveloper/110000/default-coding-sql-style-profiles">
    <profileMap class="java.util.HashMap">
    <Item>
    <Key>1:Old Preferences</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>false</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>false</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>false</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>999</lineNum>
    <lineWidth>999</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>Old Preferences</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>80</smallSql>
    <sourceSql>1</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>1:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>1</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>2:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>2</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>3:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>3</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>4:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>4</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>5:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>5</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>6:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>6</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    </profileMap>
    </SQLprofiles>

  • Code formatter does not work like in Luna

    I am using this code formatter: https://github.com/libgdx/libgdx/blob/master/eclipse-formatter.xml
    It seems to be broken in Mars. It's not that you can't import it, but it behaves differently from Luna. The major aspect that I have noticed is that while in Luna the following code looks like this:
    removeButton.addListener(new ClickListener() {
    @Override
    public void clicked (InputEvent event, float x, float y) {
    editor.remove();
    in Mars it looks like this:
    removeButton.addListener(new ClickListener() {
    @Override
    public void clicked (InputEvent event, float x, float y) {
    editor.remove();
    Although this might seem minor just looking at it like this, the difference ruins commits because of how many places this change occurs. I haven't been able to find the setting to change it back, in Mars, to the way it works in Luna. Just for extra clarification, I am importing the exact same formatter to Luna and Mars, getting those respective results.

    I'm not allowed to use links, so please visit stackoverflow and open /questions/31073603/eclipse-4-5-java-formatter-changed
    A workaround is described.

  • JSP code formatter

    Hi All, I'm looking for a JSP / HTML code formatter tool. It would be great if its a plugin to WSAD. Thnx

    Try this all-JSP version. It works for me:
    <%@ page import="java.text.*, java.util.*" %>
    <%@ page contentType="text/html; charset=UTF-8" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8">
    </HEAD>
    <BODY>
    <%
         Locale loc = new Locale("en", "IE", "EURO");
            NumberFormat formatter = NumberFormat.getCurrencyInstance(loc);
            String str = formatter.format(200);
    %>
    <%=str%>
    </BODY></HTML>Maybe that will narrow your problem down a bit. It sure looks like a problem with JSP not knowing your page is UTF-8, but why that might be true I don't know.

  • Forms 6i format code - code formatter

    Hi,
    Is there any code fomatter pluggin for forms 6i??? Or anything else in order to format code in forms 6i???
    Regards,
    Santiago

    surprisingly, I use toad formatter. you have to copy and paste from forms builder to toad, format and copy paste back it does a real good job. only two hickups, as toad formatter is plain sql, a chunk of pl/sql has to have a begin and end around it. toad won't format without a big/end. IT also does not like the word mode used in :system.mode
    So you have to comment out that line of code for the formatter to run.

  • ABAP in Eclipse, Code Formatter

    I've recently began using ABAP in Eclipse.
    One thing that bothers me is the default rules for how code is formatted (shift+F1 by default).
    Does anyone know if it's possible to define custom rules for this formatting as you can with Java in Eclipse?

    Hi Felix,
    Thanks for your reply!
    I did indeed check here but didn't find anything relevant. There are only two very limited options available. One regarding indentation and another that controls the case of variables and keywords.
    What I'm specifically looking for (what I don't think we can do yet!) is a way to define my own rule-set for the formatter as you can in other IDE's. For example, using eclipse with Java, I can define a rule that will make { or } always move to a new line when present. Or for example, I can have the formatter always chain together similar variable declarations.

  • Flash-style Dreamweaver code formatter?

    Is there some formatter I can use to visually clean up my
    code in the same way that flash indents certain tags? Maybe a html
    text editor someone can recommend or even something hidden within
    dreamweaver?
    Thanks

    COMMANDS Apply Source Formatting
    "15266" <[email protected]> wrote in message
    news:e69euq$3ek$[email protected]..
    > Is there some formatter I can use to visually clean up
    my code in the same
    > way
    > that flash indents certain tags? Maybe a html text
    editor someone can
    > recommend
    > or even something hidden within dreamweaver?
    >
    > Thanks
    >

  • Flex Builder/Eclipse code formatter plugin

    I came across
    FlexFormatter
    today after searching far and wide. Installation is a wizz and
    formatting options are customizable. Thought I'll give a heads up
    on the forum since a search for "code formatting" turns up nothing
    And, no, I'm not the publisher

    Jason,
    Yes you still need to purchase - you can install the product
    as a full install, or as an eclipse plug in. Trying the 30 day
    trial for getting your feet wet is the only option currently. Take
    advantage of free training from total training:
    http://www.totaltraining.com/Store/online_adobe_login.aspx
    Cheers,
    David

  • Code Formatter error

    I get an error when i try to adjust the settings on SQL Formatter. (SQL Developer 3.0.0.4, Ubuntu 12.04, 64 bit). Below is what i get from Tools, Preferences, Database, SQL Formatter, Oracle Formatting.
    Any ideas?
    SQL Formatter: Oracle Formatting
    Internal Error when attempting to create this panel:
    java.lang.NullPointerException
         at oracle.dbtools.proformatter.treePreferences.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:387)
         at oracle.dbtools.proformatter.treePreferences.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:383)
         at java.util.Arrays.mergeSort(Arrays.java:1283)
         at java.util.Arrays.sort(Arrays.java:1223)
         at java.util.Collections.sort(Collections.java:176)
         at oracle.dbtools.proformatter.treePreferences.style.profile.ProfileModel.<init>(ProfileModel.java:70)
         at oracle.dbtools.proformatter.treePreferences.style.preferences.CodingStylePreferencesPanel.reinit(CodingStylePreferencesPanel.java:156)
         at oracle.dbtools.proformatter.treePreferences.style.preferences.CodingStylePreferencesPanel.onEntry(CodingStylePreferencesPanel.java:431)
         at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:1220)
         at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:1201)
         at oracle.ide.panels.MDDPanel.access$1200(MDDPanel.java:128)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1657)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1525)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1519)
         at javax.swing.Timer.fireActionPerformed(Timer.java:313)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673)
         at java.awt.EventQueue.access$300(EventQueue.java:96)
         at java.awt.EventQueue$2.run(EventQueue.java:634)
         at java.awt.EventQueue$2.run(EventQueue.java:632)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:643)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
         at java.awt.Dialog$1.run(Dialog.java:1079)
         at java.awt.Dialog$3.run(Dialog.java:1133)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1131)
         at java.awt.Component.show(Component.java:1571)
         at java.awt.Component.setVisible(Component.java:1523)
         at java.awt.Window.setVisible(Window.java:951)
         at java.awt.Dialog.setVisible(Dialog.java:1013)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:317)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:556)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
         at java.awt.Component.processMouseEvent(Component.java:6288)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6053)
         at java.awt.Container.processEvent(Container.java:2045)
         at java.awt.Component.dispatchEventImpl(Component.java:4649)
         at java.awt.Container.dispatchEventImpl(Container.java:2103)
         at java.awt.Component.dispatchEvent(Component.java:4475)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
         at java.awt.Container.dispatchEventImpl(Container.java:2089)
         at java.awt.Window.dispatchEventImpl(Window.java:2587)
         at java.awt.Component.dispatchEvent(Component.java:4475)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
         at java.awt.EventQueue.access$300(EventQueue.java:96)
         at java.awt.EventQueue$2.run(EventQueue.java:634)
         at java.awt.EventQueue$2.run(EventQueue.java:632)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
         at java.awt.EventQueue$3.run(EventQueue.java:648)
         at java.awt.EventQueue$3.run(EventQueue.java:646)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

    Since your version (3.0) is so out of date, could you upgrade/install version 3.2.20_09 and try it there first?

  • Trying to install trial Dream Weaver receive Error Code A12E5

    Does anyone know how to resolve this error and have installation succeed?

    It's a better bet with a 2330, but the first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Suggestions for code formatter

    At work, I've been asked to look into automatic formatting to fit with the company's coding style, which is fairly simple (Sun + C-style braces, break lines after operator, indent case); I'm currently looking at Jalopy from a google search, which has enough parameters to do what we need, but doe anyone have any other recommendations?

    JIndent

  • Code::Blocks and gdb's Debug Attach to process; crash

    Hello!
    I've just started using Code::Blocks and very happy with it, but there is one problem: say I have a binary file with debugging symbols, then I try to attach to it using Code::Blocks (Debug>Attach to process); when I enter the PID and press "OK" button - IDE crashes.
    Here is the stacktrace of codeblocks itself from gdb:
    [user@host ~]$ gdb codeblocks
    GNU gdb (GDB) 7.4
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-pc-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/codeblocks...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/bin/codeblocks
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/libthread_db.so.1".
    [New Thread 0xb1881b40 (LWP 8035)]
    Initialize EditColourSet .....
    [New Thread 0xae6c4b40 (LWP 8036)]
    [New Thread 0xadec3b40 (LWP 8037)]
    [New Thread 0xad6c2b40 (LWP 8038)]
    [New Thread 0xacec1b40 (LWP 8039)]
    Initialize EditColourSet: done.
    Loading toolbar...
    OpenFilesList: loaded
    ThreadSearch: loaded
    lib_finder: loaded
    EnvVars: loaded
    CodeStat: loaded
    ClassWizard: loaded
    HeaderFixup: loaded
    BYOGames: loaded
    CodeSnippets: loaded
    cbDragScroll: loaded
    SymTab: loaded
    CB_Koders: loaded
    HelpPlugin: loaded
    Compiler: loaded
    Debugger: loaded
    wxSmithAui: loaded
    Autosave: loaded
    wxSmith: loaded
    wxSmithMime: loaded
    Profiler: loaded
    ScriptedWizard: loaded
    Valgrind: loaded
    RegExTestbed: loaded
    wxSmithContribItems: loaded
    CppCheck: loaded
    ToDoList: loaded
    [New Thread 0xab9b8b40 (LWP 8040)]
    CodeCompletion: loaded
    FilesExtensionHandler: loaded
    Cccc: loaded
    Exporter: loaded
    AStylePlugin: loaded
    AutoVersioning: loaded
    IncrementalSearch: loaded
    ProjectsImporter: loaded
    cbKeyBinder: loaded
    MouseSap: loaded
    BrowseTracker: loaded
    HexEditor: loaded
    copystrings: loaded
    Open files list plugin activated
    ThreadSearch plugin activated
    Library finder plugin activated
    Environment variables plugin activated
    Code statistics plugin activated
    Class wizard plugin activated
    Header Fixup plugin activated
    BYO Games plugin activated
    Code snippets plugin activated
    DragScroll plugin activated
    Symbol Table Plugin plugin activated
    Koders query plugin activated
    Help plugin plugin activated
    Added compiler "GNU GCC Compiler"
    Added compiler "Intel C/C++ Compiler"
    Added compiler "SDCC Compiler"
    Added compiler "Tiny C Compiler"
    Added compiler "GDC D Compiler"
    Added compiler "Digital Mars D Compiler"
    Added compiler "GNU ARM GCC Compiler"
    Added compiler "GNU AVR GCC Compiler"
    Added compiler "GNU GCC Compiler for PowerPC"
    Added compiler "GNU GCC Compiler for TriCore"
    Compiler plugin activated
    Debugger plugin activated
    wxSmith - Aui plugin activated
    Autosave plugin activated
    wxSmith plugin activated
    wxSmith - MIME plugin plugin activated
    Code profiler plugin activated
    Project wizard added for 'Empty project'
    Project wizard added for 'Console application'
    Project wizard added for 'D application'
    Project wizard added for 'FLTK project'
    Project wizard added for 'GLFW project'
    Project wizard added for 'GLUT project'
    Project wizard added for 'GTK+ project'
    Project wizard added for 'Irrlicht project'
    Project wizard added for 'Lightfeather project'
    Project wizard added for 'OpenGL project'
    Project wizard added for 'Ogre project'
    Project wizard added for 'Code::Blocks plugin'
    Project wizard added for 'QT4 project'
    Project wizard added for 'SDL project'
    Project wizard added for 'SFML project'
    Project wizard added for 'Static library'
    Project wizard added for 'Shared library'
    Project wizard added for 'wxWidgets project'
    Build-target wizard added for 'Console'
    Build-target wizard added for 'Static library'
    Build-target wizard added for 'wxWidgets'
    Project wizard added for 'ARM Project'
    Project wizard added for 'AVR Project'
    Project wizard added for 'TriCore Project'
    Project wizard added for 'PowerPC Project'
    File(s) wizard added for 'Empty file'
    File(s) wizard added for 'C/C++ source'
    File(s) wizard added for 'C/C++ header'
    Scripted wizard plugin activated
    Valgrind plugin activated
    Regular expressions testbed plugin activated
    wxSmith - Contrib Items plugin activated
    CppCheck plugin activated
    Todo List plugin activated
    Code completion plugin activated
    Files extension handler plugin activated
    Cccc plugin activated
    Source Exporter plugin activated
    Source code formatter (AStyle) plugin activated
    AutoVersioning plugin activated
    IncrementalSearch plugin activated
    Foreign projects importer plugin activated
    Keyboard shortcuts plugin activated
    MouseSap plugin activated
    BrowseTracker plugin activated
    HexEditor plugin activated
    Copy Strings to clipboard plugin activated
    Initializing plugins...
    [New Thread 0xaaddcb40 (LWP 8047)]
    Program received signal SIGSEGV, Segmentation fault.
    0xb75237aa in wxStringBase::operator=(wxStringBase const&) () from /usr/lib/libwx_baseu-2.8.so.0
    (gdb) backtrace
    #0 0xb75237aa in wxStringBase::operator=(wxStringBase const&) () from /usr/lib/libwx_baseu-2.8.so.0
    #1 0xabee2133 in DebuggerGDB::Debug() () from /usr/lib/codeblocks/plugins/libdebugger.so
    #2 0xabed197b in DebuggerGDB::OnAttachToProcess(wxCommandEvent&) () from /usr/lib/codeblocks/plugins/libdebugger.so
    #3 0xb74ce9f8 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
    #4 0xb755e59a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #5 0xb755e71b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
    #6 0xb755ead1 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #7 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #8 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #9 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #10 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #11 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #12 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #13 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #14 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #15 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #16 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #17 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #18 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #19 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #20 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #21 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #22 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #23 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #24 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #25 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #26 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #27 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #28 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #29 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #30 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #31 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #32 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #33 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #34 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #35 0xb778cfb7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #36 0xb6a2016c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
    #37 0xb6a1ec5c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #38 0xb6a31a10 in ?? () from /usr/lib/libgobject-2.0.so.0
    #39 0xb6a3a7a7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #40 0xb6a3a913 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #41 0xb6d7d6c5 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
    #42 0xb6c5b3c7 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
    #43 0xb6c5b7d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #44 0xb6c4fb2d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #45 0xb6c46762 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #46 0xb6a1d6ad in ?? () from /usr/lib/libgobject-2.0.so.0
    #47 0xb6a1ec5c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #48 0xb6a31858 in ?? () from /usr/lib/libgobject-2.0.so.0
    #49 0xb6a3a5b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #50 0xb6a3a913 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #51 0xb6d7e743 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #52 0xb6c4492e in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
    #53 0xb6c44cc0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
    #54 0xb6ab9078 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
    #55 0xb693907f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #56 0xb69397b0 in ?? () from /usr/lib/libglib-2.0.so.0
    #57 0xb6939dbb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    #58 0xb6c43a5f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #59 0xb772ad8a in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #60 0xb77a6c1f in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #61 0xb77a64af in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #62 0x08074566 in ?? ()
    #63 0xb7504ac6 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
    #64 0xb7504b66 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
    #65 0x0806c597 in ?? ()
    #66 0xb71db3d5 in __libc_start_main () from /lib/libc.so.6
    #67 0x08073d3d in ?? ()
    (gdb)
    Here is the XML file (debug report) that CodeBlocks gave to me after crash:
    <?xml version="1.0" encoding="utf-8"?>
    <report version="1.0" kind="exception">
    <system description="Linux 3.3.2-1-ARCH i686"/>
    <modules>
    <module path="/usr/bin/codeblocks" address="08048000" size="0008f000"/>
    <module path="/usr/bin/codeblocks" address="080dc000" size="00003000"/>
    <module path="[heap]" address="087ef000" size="0138e000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf" address="aa53f000" size="0004d000"/>
    <module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aa5f7000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aa5fb000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libBrowseTracker.so" address="aa631000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libMouseSap.so" address="aa634000" size="0000a000"/>
    <module path="/usr/lib/codeblocks/plugins/libMouseSap.so" address="aa63f000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libkeybinder.so" address="aa676000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libprojectsimporter.so" address="aa679000" size="0002a000"/>
    <module path="/usr/lib/codeblocks/plugins/libprojectsimporter.so" address="aa6a4000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libAutoVersioning.so" address="aa6de000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libastyle.so" address="aa6e1000" size="0003c000"/>
    <module path="/usr/lib/codeblocks/plugins/libastyle.so" address="aa71e000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libexporter.so" address="aa7df000" size="00003000"/>
    <module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aa7e8000" size="00015000"/>
    <module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aa7ff000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aa902000" size="00013000"/>
    <module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aa916000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodecompletion.so" address="ab118000" size="000a7000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodecompletion.so" address="ab1c2000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libtodo.so" address="ab1c4000" size="00023000"/>
    <module path="/usr/lib/codeblocks/plugins/libtodo.so" address="ab1e8000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libCppCheck.so" address="ab1eb000" size="0000c000"/>
    <module path="/usr/lib/codeblocks/plugins/libCppCheck.so" address="ab1f8000" size="00001000"/>
    <module path="/usr/lib/wxSmithContribItems/libwxchartctrl.so.0.0.1" address="ab220000" size="00001000" version="0.0.1"/>
    <module path="/usr/lib/wxSmithContribItems/libwxchartctrl.so.0.0.1" address="ab223000" size="00001000" version="0.0.1"/>
    <module path="/usr/lib/codeblocks/plugins/libwxsmithcontribitems.so" address="ab24b000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libRegExTestbed.so" address="ab24e000" size="0000d000"/>
    <module path="/usr/lib/codeblocks/plugins/libRegExTestbed.so" address="ab25c000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libscriptedwizard.so" address="ab2a9000" size="00004000"/>
    <module path="/usr/lib/codeblocks/plugins/libProfiler.so" address="ab2ae000" size="0001a000"/>
    <module path="/usr/lib/codeblocks/plugins/libProfiler.so" address="ab2c9000" size="00001000"/>
    <module path="/usr/lib/libwxsmithlib.so.0.0.1" address="ab554000" size="00015000" version="0.0.1"/>
    <module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="ab581000" size="0000d000"/>
    <module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="ab58f000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libautosave.so" address="ab59d000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxSmithAui.so" address="ab59f000" size="00049000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxSmithAui.so" address="ab5e9000" size="00003000"/>
    <module path="/usr/lib/codeblocks/plugins/libdebugger.so" address="ab5ef000" size="00097000"/>
    <module path="/usr/lib/codeblocks/plugins/libdebugger.so" address="ab68c000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="ab68e000" size="0011c000"/>
    <module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="ab7ad000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libhelp_plugin.so" address="ab7b0000" size="0010d000"/>
    <module path="/usr/lib/codeblocks/plugins/libhelp_plugin.so" address="ab8be000" size="00004000"/>
    <module path="/usr/lib/codeblocks/plugins/libcb_koders.so" address="ab8c8000" size="00012000"/>
    <module path="/usr/lib/codeblocks/plugins/libcb_koders.so" address="ab8db000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libSymTab.so" address="ab8f6000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libdragscroll.so" address="ab8f8000" size="0001c000"/>
    <module path="/usr/lib/codeblocks/plugins/libdragscroll.so" address="ab916000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodesnippets.so" address="aba1a000" size="00007000"/>
    <module path="/usr/lib/codeblocks/plugins/libbyogames.so" address="aba25000" size="00027000"/>
    <module path="/usr/lib/codeblocks/plugins/libbyogames.so" address="aba4f000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libheaderfixup.so" address="abb0b000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libclasswizard.so" address="abb0e000" size="00018000"/>
    <module path="/usr/lib/codeblocks/plugins/libclasswizard.so" address="abb27000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodestat.so" address="abb3c000" size="00001000"/>
    <module path="/usr/lib/wxSmithContribItems/libwxflatnotebook.so.0.0.1" address="abb3e000" size="0003e000" version="0.0.1"/>
    <module path="/usr/lib/wxSmithContribItems/libwxflatnotebook.so.0.0.1" address="abb7e000" size="00002000" version="0.0.1"/>
    <module path="/usr/lib/codeblocks/plugins/liblib_finder.so" address="abbf0000" size="00003000"/>
    <module path="/usr/lib/codeblocks/plugins/libThreadSearch.so" address="abbf4000" size="0004a000"/>
    <module path="/usr/lib/codeblocks/plugins/libThreadSearch.so" address="abc41000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="abc43000" size="00009000"/>
    <module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="abc4d000" size="00001000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSansMono.ttf" address="abcae000" size="00052000"/>
    <module path="/usr/lib/codeblocks/plugins/libcopystrings.so" address="abe00000" size="00007000"/>
    <module path="/usr/lib/codeblocks/plugins/libcopystrings.so" address="abe08000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libenvvars.so" address="abe23000" size="00001000"/>
    <module path="/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1" address="abe25000" size="0000a000" version="0.0.1"/>
    <module path="/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1" address="abe30000" size="00001000" version="0.0.1"/>
    <module path="/usr/share/mime/mime.cache" address="ade35000" size="0001f000"/>
    <module path="/usr/lib/libgvfscommon.so.0.0.0" address="ade6a000" size="00001000" version="0.0.0"/>
    <module path="/usr/lib/codeblocks/plugins/libCccc.so" address="ade6c000" size="00007000"/>
    <module path="/usr/lib/codeblocks/plugins/libCccc.so" address="ade74000" size="00001000"/>
    <module path="/usr/share/mime/mime.cache" address="ade76000" size="0001f000"/>
    <module path="/usr/lib/gio/modules/libgvfsdbus.so" address="adebf000" size="00001000"/>
    <module path="/usr/local/share/icons/hicolor/icon-theme.cache" address="adec1000" size="00091000"/>
    <module path="/usr/share/icons/hicolor/icon-theme.cache" address="af2a9000" size="01357000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxsmith.so" address="b0701000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxsmith.so" address="b0704000" size="00001000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSans.ttf" address="b0721000" size="000b0000"/>
    <module path="/usr/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo" address="b07d4000" size="00008000"/>
    <module path="/dev/shm/pulse-shm-3776743730" address="b0fdd000" size="04001000"/>
    <module path="/lib/libnsl-2.15.so" address="b4ff3000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libvorbisenc.so.2.0.9" address="b4ff7000" size="00166000" version="2.0.9"/>
    <module path="/usr/lib/libvorbisenc.so.2.0.9" address="b516e000" size="00001000" version="2.0.9"/>
    <module path="/usr/lib/libFLAC.so.8.2.0" address="b51be000" size="00001000" version="8.2.0"/>
    <module path="/usr/lib/libasyncns.so.0.3.1" address="b51c4000" size="00001000" version="0.3.1"/>
    <module path="/usr/lib/libsndfile.so.1.0.25" address="b51c6000" size="0006c000" version="1.0.25"/>
    <module path="/usr/lib/libsndfile.so.1.0.25" address="b5233000" size="00001000" version="1.0.25"/>
    <module path="/usr/lib/libdbus-1.so.3.5.9" address="b5238000" size="00048000" version="3.5.9"/>
    <module path="/usr/lib/libdbus-1.so.3.5.9" address="b5281000" size="00001000" version="3.5.9"/>
    <module path="/usr/lib/libpulsecommon-1.1.so" address="b52e7000" size="00001000" version="1.1"/>
    <module path="/usr/lib/libpulse.so.0.13.5" address="b52e9000" size="0004c000" version="0.13.5"/>
    <module path="/usr/lib/libpulse.so.0.13.5" address="b5336000" size="00001000" version="0.13.5"/>
    <module path="/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="b533f000" size="00001000" version="xpm"/>
    <module path="/usr/lib/libudev.so.0.13.1" address="b5341000" size="0000e000" version="0.13.1"/>
    <module path="/usr/lib/libudev.so.0.13.1" address="b5350000" size="00001000" version="0.13.1"/>
    <module path="/usr/lib/libcanberra-0.28/libcanberra-pulse.so" address="b5360000" size="00006000" version="pulse"/>
    <module path="/usr/lib/libcanberra-0.28/libcanberra-pulse.so" address="b5367000" size="00001000" version="pulse"/>
    <module path="/var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le32d4.cache-3" address="b540d000" size="0002a000"/>
    <module path="/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-le32d4.cache-3" address="b5478000" size="00041000"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so" address="b5519000" size="0002f000" version="2.0/2.10.0/engines/libclearlooks"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so" address="b5549000" size="00001000" version="2.0/2.10.0/engines/libclearlooks"/>
    <module path="/usr/lib/libltdl.so.7.3.0" address="b5553000" size="00001000" version="7.3.0"/>
    <module path="/usr/lib/libtdb.so.1.2.9" address="b5555000" size="00011000" version="1.2.9"/>
    <module path="/usr/lib/libtdb.so.1.2.9" address="b5567000" size="00001000" version="1.2.9"/>
    <module path="/usr/lib/libogg.so.0.8.0" address="b556e000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libvorbis.so.0.4.6" address="b5599000" size="00001000" version="0.4.6"/>
    <module path="/usr/lib/libvorbisfile.so.3.3.5" address="b559b000" size="00008000" version="3.3.5"/>
    <module path="/usr/lib/libvorbisfile.so.3.3.5" address="b55a4000" size="00001000" version="3.3.5"/>
    <module path="/usr/lib/libcanberra.so.0.2.5" address="b55b5000" size="00001000" version="0.2.5"/>
    <module path="/usr/lib/libcanberra-gtk.so.0.1.8" address="b55b7000" size="00004000" version="0.1.8"/>
    <module path="/usr/lib/libcanberra-gtk.so.0.1.8" address="b55bc000" size="00001000" version="0.1.8"/>
    <module path="/lib/libnss_files-2.15.so" address="b55f3000" size="0000b000" version="2.15"/>
    <module path="/lib/libnss_files-2.15.so" address="b55ff000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libjson.so.0.0.1" address="b5603000" size="00007000" version="0.0.1"/>
    <module path="/usr/lib/libjson.so.0.0.1" address="b560b000" size="00001000" version="0.0.1"/>
    <module path="/var/cache/fontconfig/a98d8961fa319a64d3cfd8640c79e62d-le32d4.cache-3" address="b561c000" size="00007000"/>
    <module path="/usr/share/locale/ru/LC_MESSAGES/libc.mo" address="b5629000" size="0002e000"/>
    <module path="/usr/lib/locale/locale-archive" address="b5788000" size="00200000"/>
    <module path="/lib/libbz2.so.1.0.6" address="b598e000" size="0000f000" version="1.0.6"/>
    <module path="/lib/libresolv-2.15.so" address="b599e000" size="00013000" version="2.15"/>
    <module path="/lib/libresolv-2.15.so" address="b59b2000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libpixman-1.so.0.24.4" address="b59b5000" size="00093000" version="0.24.4"/>
    <module path="/usr/lib/libpixman-1.so.0.24.4" address="b5a4c000" size="00001000" version="0.24.4"/>
    <module path="/usr/lib/libfreetype.so.6.8.1" address="b5ae4000" size="00004000" version="6.8.1"/>
    <module path="/usr/lib/libXdmcp.so.6.0.0" address="b5ae9000" size="00005000" version="6.0.0"/>
    <module path="/usr/lib/libXdmcp.so.6.0.0" address="b5aef000" size="00001000" version="6.0.0"/>
    <module path="/usr/lib/libXau.so.6.0.0" address="b5af1000" size="00002000" version="6.0.0"/>
    <module path="/usr/lib/libXau.so.6.0.0" address="b5af4000" size="00001000" version="6.0.0"/>
    <module path="/usr/lib/liblzma.so.5.0.3" address="b5b1a000" size="00001000" version="5.0.3"/>
    <module path="/usr/lib/libuuid.so.1.3.0" address="b5b1c000" size="00004000" version="1.3.0"/>
    <module path="/usr/lib/libuuid.so.1.3.0" address="b5b21000" size="00001000" version="1.3.0"/>
    <module path="/usr/lib/libICE.so.6.3.0" address="b5b38000" size="00001000" version="6.3.0"/>
    <module path="/usr/lib/libffi.so.5.0.10" address="b5b3c000" size="00005000" version="5.0.10"/>
    <module path="/usr/lib/libffi.so.5.0.10" address="b5b42000" size="00001000" version="5.0.10"/>
    <module path="/lib/librt-2.15.so" address="b5b44000" size="00007000" version="2.15"/>
    <module path="/lib/librt-2.15.so" address="b5b4c000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libpcre.so.1.0.0" address="b5ba7000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libpcre.so.1.0.0" address="b5ba9000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXdamage.so.1.1.0" address="b5bac000" size="00001000" version="1.1.0"/>
    <module path="/usr/lib/libXcomposite.so.1.0.0" address="b5bae000" size="00002000" version="1.0.0"/>
    <module path="/usr/lib/libXcomposite.so.1.0.0" address="b5bb1000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXcursor.so.1.0.2" address="b5bbb000" size="00001000" version="1.0.2"/>
    <module path="/usr/lib/libXrandr.so.2.2.0" address="b5bbe000" size="00007000" version="2.2.0"/>
    <module path="/usr/lib/libXrandr.so.2.2.0" address="b5bc6000" size="00001000" version="2.2.0"/>
    <module path="/usr/lib/libXi.so.6.1.0" address="b5bd5000" size="00001000" version="6.1.0"/>
    <module path="/usr/lib/libXrender.so.1.3.0" address="b5bd7000" size="00009000" version="1.3.0"/>
    <module path="/usr/lib/libXrender.so.1.3.0" address="b5be1000" size="00001000" version="1.3.0"/>
    <module path="/usr/lib/libXext.so.6.4.0" address="b5bf3000" size="00001000" version="6.4.0"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.3000.2" address="b5bf5000" size="00003000" version="0.3000.2"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.3000.2" address="b5bf9000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libfontconfig.so.1.4.4" address="b5bfb000" size="00033000" version="1.4.4"/>
    <module path="/usr/lib/libfontconfig.so.1.4.4" address="b5c2f000" size="00001000" version="1.4.4"/>
    <module path="/usr/lib/libpangoft2-1.0.so.0.2904.0" address="b5c5c000" size="00001000" version="0.2904.0"/>
    <module path="/usr/lib/libgio-2.0.so.0.3000.2" address="b5c5e000" size="00140000" version="0.3000.2"/>
    <module path="/usr/lib/libgio-2.0.so.0.3000.2" address="b5da0000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libcairo.so.2.11000.2" address="b5da2000" size="000b4000" version="2.11000.2"/>
    <module path="/usr/lib/libcairo.so.2.11000.2" address="b5e57000" size="00001000" version="2.11000.2"/>
    <module path="/usr/lib/libatk-1.0.so.0.20209.1" address="b5e5a000" size="0001e000" version="0.20209.1"/>
    <module path="/usr/lib/libatk-1.0.so.0.20209.1" address="b5e7a000" size="00001000" version="0.20209.1"/>
    <module path="/usr/lib/libXfixes.so.3.1.0" address="b5e7c000" size="00004000" version="3.1.0"/>
    <module path="/usr/lib/libXfixes.so.3.1.0" address="b5e81000" size="00001000" version="3.1.0"/>
    <module path="/usr/lib/libpangocairo-1.0.so.0.2904.0" address="b5e8d000" size="00001000" version="0.2904.0"/>
    <module path="/usr/lib/libxcb.so.1.1.0" address="b5e8f000" size="00020000" version="1.1.0"/>
    <module path="/usr/lib/libxcb.so.1.1.0" address="b5eb0000" size="00001000" version="1.1.0"/>
    <module path="/usr/lib/libexpat.so.1.6.0" address="b5ed7000" size="00001000" version="1.6.0"/>
    <module path="/usr/lib/libexpat.so.1.6.0" address="b5eda000" size="00001000" version="1.6.0"/>
    <module path="/usr/lib/libz.so.1.2.6" address="b5ef0000" size="00001000" version="1.2.6"/>
    <module path="/usr/lib/libtiff.so.5.0.6" address="b5ef3000" size="0006f000" version="5.0.6"/>
    <module path="/usr/lib/libtiff.so.5.0.6" address="b5f63000" size="00002000" version="5.0.6"/>
    <module path="/usr/lib/libjpeg.so.8.0.2" address="b5f66000" size="00045000" version="8.0.2"/>
    <module path="/usr/lib/libjpeg.so.8.0.2" address="b5fac000" size="00001000" version="8.0.2"/>
    <module path="/usr/lib/libpng15.so.15.10.0" address="b5fbd000" size="0002e000" version="15.10.0"/>
    <module path="/usr/lib/libpng15.so.15.10.0" address="b5fec000" size="00001000" version="15.10.0"/>
    <module path="/usr/lib/libSM.so.6.0.1" address="b5ff4000" size="00001000" version="6.0.1"/>
    <module path="/usr/lib/libXxf86vm.so.1.0.0" address="b5ff6000" size="00004000" version="1.0.0"/>
    <module path="/usr/lib/libXxf86vm.so.1.0.0" address="b5ffb000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXinerama.so.1.0.0" address="b5ffe000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libgthread-2.0.so.0.3000.2" address="b6001000" size="00004000" version="0.3000.2"/>
    <module path="/usr/lib/libgthread-2.0.so.0.3000.2" address="b6006000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libpango-1.0.so.0.2904.0" address="b604f000" size="00001000" version="0.2904.0"/>
    <module path="/usr/lib/libglib-2.0.so.0.3000.2" address="b6051000" size="000f6000" version="0.3000.2"/>
    <module path="/usr/lib/libglib-2.0.so.0.3000.2" address="b6148000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libgdk_pixbuf-2.0.so.0.2400.1" address="b616b000" size="00001000" version="0.2400.1"/>
    <module path="/usr/lib/libgobject-2.0.so.0.3000.2" address="b616d000" size="0004c000" version="0.3000.2"/>
    <module path="/usr/lib/libgobject-2.0.so.0.3000.2" address="b61ba000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.2400.10" address="b61bc000" size="000ab000" version="0.2400.10"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.2400.10" address="b6269000" size="00001000" version="0.2400.10"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.2400.10" address="b66be000" size="00001000" version="0.2400.10"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.2400.10" address="b66c3000" size="00002000" version="0.2400.10"/>
    <module path="/lib/libm-2.15.so" address="b66c7000" size="0002a000" version="2.15"/>
    <module path="/lib/libm-2.15.so" address="b66f2000" size="00001000" version="2.15"/>
    <module path="/lib/libdl-2.15.so" address="b66f6000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libX11.so.6.3.0" address="b66f8000" size="00132000" version="6.3.0"/>
    <module path="/usr/lib/libX11.so.6.3.0" address="b682b000" size="00001000" version="6.3.0"/>
    <module path="/usr/lib/libwx_baseu_xml-2.8.so.0.8.0" address="b682f000" size="00008000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu_xml-2.8.so.0.8.0" address="b6838000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.8.0" address="b683a000" size="000da000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.8.0" address="b691a000" size="00001000" version="0.8.0"/>
    <module path="/lib/libc-2.15.so" address="b691d000" size="0019b000" version="2.15"/>
    <module path="/lib/libc-2.15.so" address="b6ab9000" size="00002000" version="2.15"/>
    <module path="/usr/lib/libgcc_s.so.1" address="b6abf000" size="0001c000" version="1"/>
    <module path="/usr/lib/libstdc++.so.6.0.17" address="b6adc000" size="000dc000" version="6.0.17"/>
    <module path="/usr/lib/libstdc++.so.6.0.17" address="b6bbc000" size="00001000" version="6.0.17"/>
    <module path="/lib/libpthread-2.15.so" address="b6bc4000" size="00017000" version="2.15"/>
    <module path="/lib/libpthread-2.15.so" address="b6bdc000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libwx_baseu-2.8.so.0.8.0" address="b6be0000" size="00136000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu-2.8.so.0.8.0" address="b6d17000" size="00004000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu_net-2.8.so.0.8.0" address="b6d26000" size="00029000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu_net-2.8.so.0.8.0" address="b6d50000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.8.0" address="b6d52000" size="002f7000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.8.0" address="b704a000" size="00026000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.8.0" address="b707d000" size="000ab000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.8.0" address="b7130000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.8.0" address="b7133000" size="00089000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.8.0" address="b71c1000" size="00002000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.8.0" address="b71c4000" size="00019000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.8.0" address="b71de000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.8.0" address="b71e0000" size="0007a000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.8.0" address="b725d000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.8.0" address="b725f000" size="0005d000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.8.0" address="b72bf000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libcodeblocks.so.0.0.1" address="b72c1000" size="00431000" version="0.0.1"/>
    <module path="/usr/lib/libcodeblocks.so.0.0.1" address="b7703000" size="00005000" version="0.0.1"/>
    <module path="/usr/local/share/mime/mime.cache" address="b770e000" size="00001000"/>
    <module path="/lib/libutil-2.15.so" address="b7711000" size="00001000" version="2.15"/>
    <module path="/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so" address="b7713000" size="00005000" version="module"/>
    <module path="/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so" address="b7719000" size="00001000" version="module"/>
    <module path="/usr/lib/gconv/UTF-32.so" address="b7733000" size="00002000" version="32"/>
    <module path="/usr/lib/gconv/UTF-32.so" address="b7736000" size="00001000" version="32"/>
    <module path="[vdso]" address="b7738000" size="00001000"/>
    <module path="/lib/ld-2.15.so" address="b7759000" size="00001000" version="2.15"/>
    </modules>
    <stack>
    <frame level="0" function="wxFatalSignalHandler" offset="00000023"/>
    <frame level="1"/>
    <frame level="2" function="wxStringBase::operator=(wxStringBase const&amp;)" offset="0000001a"/>
    <frame level="3" function="DebuggerGDB::Debug()" offset="000001f3"/>
    <frame level="4" function="DebuggerGDB::OnAttachToProcess(wxCommandEvent&amp;)" offset="0000014b"/>
    <frame level="5" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000028"/>
    <frame level="6" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000007a"/>
    <frame level="7" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="000000ab"/>
    <frame level="8" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000e1"/>
    <frame level="9" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="10" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="11" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="12" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="22" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="23" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="24" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="25" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="26" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="27" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="28" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="29" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="30" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="31" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="32" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="33" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="34" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="35" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="36" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="37"/>
    <frame level="38" function="g_cclosure_marshal_VOID__VOID" offset="0000008c"/>
    <frame level="39" function="g_closure_invoke" offset="000001ac"/>
    <frame level="40"/>
    <frame level="41" function="g_signal_emit_valist" offset="00000777"/>
    <frame level="42" function="g_signal_emit" offset="00000033"/>
    <frame level="43" function="gtk_widget_activate" offset="00000095"/>
    <frame level="44" function="gtk_menu_shell_activate_item" offset="00000117"/>
    <frame level="45"/>
    <frame level="46"/>
    <frame level="47"/>
    <frame level="48"/>
    <frame level="49" function="g_closure_invoke" offset="000001ac"/>
    <frame level="50"/>
    <frame level="51" function="g_signal_emit_valist" offset="00000589"/>
    <frame level="52" function="g_signal_emit" offset="00000033"/>
    <frame level="53"/>
    <frame level="54" function="gtk_propagate_event" offset="000000ce"/>
    <frame level="55" function="gtk_main_do_event" offset="000002c0"/>
    <frame level="56"/>
    <frame level="57" function="g_main_context_dispatch" offset="000001df"/>
    <frame level="58"/>
    <frame level="59" function="g_main_loop_run" offset="0000014b"/>
    <frame level="60" function="gtk_main" offset="000000af"/>
    <frame level="61" function="wxEventLoop::Run()" offset="0000004a"/>
    <frame level="62" function="wxAppBase::MainLoop()" offset="0000004f"/>
    <frame level="63" function="wxAppBase::OnRun()" offset="0000001f"/>
    <frame level="64"/>
    </stack>
    </report>
    I've just wrote a simple helloworld in C, added getchar() to wait, compiled it with "-g" flag and tried to attach to it with this IDE. Tried on 2 machines, different binaries: same result - IDE crashes. Am I doing something wrong, or this is a problem with WxWidgets/Code::Blocks?
    My packages are: wxgtk 2.8.12.1-3, codeblocks 10.05-2 and gdb 7.4-1.
    Last edited by dontbugme (2012-04-24 02:19:16)

    Are you running on an x86_64 architecture?  If so I have a pacman Code::Blocks package which is the current SVN I could upload somewhere for you..
    If not, check: Here to download and make the latest SVN version.  There is a patch you have to apply on that page and also you need to make the build using the makepkg "-fpermissive" option.
    Why do you want this SVN version (version 7932)?  Well, it's current as of April 14 this month.  The C::B 10.05 version is 2010, 5th month.  So way out of date.  There have been no official builds since then so you want to be using SVN until there is.
    I don't know if using the SVN version would fix your issue but even if not: it has a host of other enhancements and fixes.

Maybe you are looking for