This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Debugging problem

Hi,

after doing something I can't recontruct, the Debugging of my Project is very slow. It took about a few seconds before and now takes up to a minute and more which is very annoying.

When viewing the Details, I found that message is displayed:

"Refreshing workspace (Blocked: The user operation is waiting for background work to complete)"

Ths is occurring on one single c-file in my project, where the last changes were made.

Has anybody an idea?

Thanks in advance and regards,

Martin

P.s.: The CCS version is:  5.2.0.00069

  • Martin,

    This is a difficult scenario to precisely pinpoint the exact reason, therefore I can only give a few tips.

    If you are using files located in remote directories over the network, check if the network conditions somehow changed and became a potential performance penalty.

    Try to reduce the number of projects opened in the workspace. This helps with performance.

    Check the heap status (go to menu Window --> Preferences --> General --> Show heap status). Maybe something is causing the heap to be filled quickly and therefore slowing down the processing.

    You can also try the tips shown in the sections General IDE and Debugger of the troubleshooting page below:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS

    Apart from this, I would also check for other less obvious reasons for the delay (other processes taking CPU time, any corrupt files in the disk, etc.)

    Hope this helps,

    Rafael

     

  • Hi Rafael,

    Thank you for your tipps.

    There are no remote files included and no other processes taking CPU time.

    I've already reinstalled CCS and cleaned the workspace (only one project left in there) but unfortunately brought no impovement.

    At the point where it hangs, the heap shows 85 of 120 M.

    The Troubleshootimng WIki doesn't contain any helpful information to that as far as I can see.

    What confuses me is the fact that older projects with the same file structure  and configurations but different code don't produce that problem.

    Regards, Martin

  • Martin,

    Interesting; so this only happens with one project - and maybe even with a single C file. What happens if you remove this file from the project? Does CCS restore its normal operation or stay "broken"?

    Also, can you right-click on the C file and check its Properties and build settings? Maybe an invalid (or somehow recursive) option was set and is causing the slowdown... 

    If this is not tied only with the C source file, do you have other projects together with this one in the same workspace? If so, can you close just the problematic one and see if the slowdown goes away?

    The idea is to pinpoint the issue to specific parts of the code...

    In a different angle, I have seen some slowdown when I open a very large project and the indexer starts running, which in turn slows down the whole system. Obviously, when the indexer stops the slowdown goes away. That doesn't seem to be your case, though.

    Regards, Rafael