Forum Discussion

oneillj's avatar
12 years ago

AQTime can't load module from Code::Blocks

Hi guys.  I am trying to use AQTime to profile some genetic algorithm code that I suspect has a memory leak.  The project is a Win 32 GUI project compiled with the GCC compiler using the Code::Blocks IDE.  It was compiled after the build options were set to produce debugging info [-g], and to profile code when executed [-pg].



However, when I try to add the module (a .exe) to the project, AQTime says that "The following modules do not have debug info or were renamed or were removed from the disk.  Thus I can't profile the code.



Can anyone give me advice?





  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Joseph,


     


    According to the "Compiler Settings for GNU CC" article, AQtime reads debug information in the stabs format. Make sure that the corresponding option is set in the GCC compiler settings. Also, try using the -gstabs+ parameter.