How to use the Nokia_AnalyzeTool?



  • Our team is developing apps(Symbian~3) under QT Creator,And at the last sprint we need to check the memory leak problems.
    I found the Nokia Analyze Tool at http://developer.qt.nokia.com/forums/viewthread/6787
    Following the doc given by nokia《Nokia_AnalyzeTool_Users_Guide_v1_0_en》.And unzip the epoc32 folder into C:\QtSDK\Symbian\SDKs\Symbian3Qt473 (I install the QT Creator into C:\QtSDK).
    Then I install .sis into the device(Nokia N8).
    When I used :"atool –tr abld build armv5 urel" to build it.
    it showed as followed:
    C:\myproject>atool -tr abld build armv5 udeb
    AnalyzeTool : System call, bldmake bldfiles armv5
    BLDMAKE ERROR: ERROR: CPP executable not found in path
    BEGIN failed--compilation aborted at C:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32
    tools/Checkgcc.pm line 95.
    Compilation failed in require at C:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\tool
    s/PREPFILE.PM line 28.
    BEGIN failed--compilation aborted at C:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32
    tools/PREPFILE.PM line 28.
    Compilation failed in require at C:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\tool
    s/Modload.pm line 58.

    AnalyzeTool

    Build Summary

    Build type: udeb
    Build platform: armv5
    Data gathering mode: output to trace
    Allocation call stack size: 40
    Free call stack size: 0
    Deferred free: feature disabled
    Heap corruption check (guard blocks): feature disabled
    AnalyzeTool : Error, creating/reading makefiles.

    I don't know what I should do,If you can help me or you know other way to check the momory leak,pls reply.
    Many Tks!



  • [quote author="shuai.wu" date="1308725933"]Hope it not fall down.[/quote]

    There is no point in continuously posting that too within a span of 10 minutes. Have patience and wait for someones reply.



  • To use the tool, please use the command prompts provided for each target in the SDK’s entry in the Windows Start menu or otherwise ensure that you have a properly configured environment in which the build tools can be executed.


  • Moderators

    This is one of the questions better targeted at developer.nokia.com I think. They announced the tool, so they most likely implemented it:-)

    PS: I removed the nagging about people answering.



  • Thank you very much!
    The question that I sunmited is that I don't know whether my environment is correct or not.
    I use the QT Creator to built my project.
    And it runs well in both simulator and device.
    pls tell me what is the correct configration.

    [quote author="QtK" date="1308727024"]
    [quote author="shuai.wu" date="1308725933"]Hope it not fall down.[/quote]

    There is no point in continuously posting that too within a span of 10 minutes. Have patience and wait for someones reply.[/quote]



  • [quote author="Tobias Hunger" date="1308731302"]This is one of the questions better targeted at developer.nokia.com I think. They announced the tool, so they most likely implemented it:-)

    PS: I removed the nagging about people answering.[/quote]

    Thanks!
    This is the first time that I use this forum.
    I can not find where I can write a new article at developer.nokia.com .
    Can you say it clearly?
    tks!


  • Moderators

    ABLD is the old symbian build system though... maybe you need to use the new one for your project instead (sbs)?

    But since I have never even seen the tool, so I can not really tell you how to use it correctly. Sorry.



  • [quote author="shuai.wu" date="1308732761"]
    [quote author="Tobias Hunger" date="1308731302"]This is one of the questions better targeted at developer.nokia.com I think. They announced the tool, so they most likely implemented it:-)

    PS: I removed the nagging about people answering.[/quote]

    Thanks!
    This is the first time that I use this forum.
    I can not find where I can write a new article at developer.nokia.com .
    Can you say it clearly?
    tks![/quote]

    There is a discussion forum under community tab you can post there. To me its seems like the problem is due to environment variables not set properly.

    As mentioned in my previous post use the command prompt launcher provided under your Qt SDK menu in windows program files


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.