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.

CCS stuck at "terminating debug session"(removing breakpoints)

whenever I terminate debug session, it is just stuck at "terminating debug session"(removing breakpoints; I have to use taks manager to turn off CCS and then restart computer.if I don't restart computer, it alaways says workspace is occupied.which process is responsible for workspace?so I can turn off the process using task manager.

the rest fuctions of CCS is working and I can do debugging.

what might be  the problems?

 

  • Hi Harrison,

    could you please provide further details.

    Do you get any error logs or dmp files generated?

    What breakpoints do you have set?  Number, type, etc? 

    Does this only occur with one project/workspace or all you try?

    Does it only occur in conjunction with breakpoints?

    Best regards,
    Lisa

  • Can you let us know the specific version of CCS you are using?

    We have had a few reports of this behavior and there is a workaround you can use temporarily. Try renaming the file ctools.dll file found in the directory /ccsv4/emulation/analysis/bin/ within the CCS installation to something else, and close and restart CCS. Please see this related thread.

  • Hi Lisa,

    1)

    no logs or dmp files can be seen as I have to use task manager to restart the computer, so I don't know if such files exist;

    2)

    first I set breaking point, then I realized this problem so I toggoled/disabled the breakpoints, the problem is still there.

    I just set the break point in main.c, guess the type should be the default type:hardware.

    3)

    before I didn't have this problem with the same project, say a few weeks ago; then I could terminate the debug every time.

     

    I will try the rest and let you know later.

  • version:4.2.4.00033

  • I renamed ctools.dll, but my CCS stil stuck and crashes every time.

  • Hi Harrison,

    ok, thanks for trying that.  Have you managed to try a different project?  Same behaviour?

    What happens if you create a fresh workspace and import this project into it?

    Was there anything to do with CCS, and installation, drivers, etc that occurred at the same time as the issue started?

    Best Regards,
    LIsa

  • I tried TI controlstick 28027 with DEMO Blinkled project in a different workspace, it is the same result;

    when terminating it or just try to reprogram or s,it just says removing breaking point, but I didn't set any breakpoints at all and it's stuck there for ever.

     

  • Hi Harrison,

    please see whether the control stick thread below might apply to your case as well.

     

    Re: CCS stuck at "terminating debug session"(removing breakpoints)

     

    Best Regards,
    Lisa

  • Sorry, this is the thread I meant ...

     

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/116418/413112.aspx#413112

  • Hi Harrisson,

    just thought I would check whether that thread was helpful.

    Best Regards,
    Lisa

  • Hi Lisa,

     

    thanks for the following up.

    the problem happens again : " terminating debug session" window ,and it is stuck at removing breakpoints ;however, there is no abled breakpoints at all.

    I have to use task manager to close it and restart my computer.

    CCS version is 4.2.4.0033 the latest.

    and it is TI demo board and code.

    thanks

     

     

  • sorry, the version is 4.2.3.0004.

     

    it is a bit wierd, as I remember I updated it to 0033 originally, then after applying a license yesterday (switch from a free license to a paid full license), it becomes .0004.

    then the problem came up haunting me.

    thank

     

  • Hi Harrison,

    If you go to Help->About Code Composer Studio, what version does it show?  Please do be sure you are trying the latest version, 4.2.3.00033.

    Do you have the latest version of the control suite examples?

    Please confirm whether you have this issue with an unmodified example on the latest CCS v4 version.

    Have you been through these two guides?

    http://media.digikey.com/PDF/Data%20Sheets/Texas%20Instruments%20PDFs/TMDX28069USB%20Quick%20Start%20Guide.pdf

     

    http://www.ti.com/lit/ml/sprugu2b/sprugu2b.pdf

    In debug mode, if you go to View->Breakpoints do you see any breakpoints there? 

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa,

     

    the problem is my CCS 4.2.3.0004 cannot be updated to 4.2.3.0033, becasue everytime I use update manager to check and install, it says no update.

    thus the versition remains 4.2.3.0004.

    this CCS uses a paid license for a full version.

    While I indeed upgraded CCS4.2.3.0004 to 4.2.3.0033 on another computer which uses a free trial license.

    please double check if this is a license related issue.

     

    thanks

  • Hi Harrison,

    You can certainly download the latest production version and use the same paid license in the one case.

    While this could well be a version issue, I do not suspect this is a license issue.

    Is there any way you can download and try the latest version with your problem computer and the paid license?

    Please keep us informed.

    Best Regards,
    Lisa

  • I installed .0033, but all TI kits and demo  do not work any more as it complains "this project was created using a version of code generation tools that is not installed: 5..2.6[C2000].

    Actually I installed the full version of 0033, but it still complains.

  • Lisa TI said:

    Hi Harrison,

    could you please provide further details.

    Do you get any error logs or dmp files generated?

    What breakpoints do you have set?  Number, type, etc? 

    Does this only occur with one project/workspace or all you try?

    Does it only occur in conjunction with breakpoints?

    Best regards,
    Lisa

    when "removing breakpoints" happens,there are two scenarios:

    one has only 1 breakpoint , but it was disabled;

    the second has one enabled breakpoint and one disabled breakingpoint.

    there may be scenarios with no breakpoint as well, but I am not sure and will prove it later.

    the newest problem with this 0004 is both "pause" and play button become grey which unclickable, so I have to use the button " teminate all", when I click it, it again stuck at removing breakpoints.

    all  above happened after I renamed ctools.dll, and they happened before I renamed ctools.dll as well.

     when this happesn, it can only exit by using task manager and restart computer.

     

    thanks

  • Hi Harrison,

    it would be interesting to see if you get any error logs or .dmp files you could send.  It would also be nice to confirm whether this is version related.

    Have you tried letting CCS run the latest code generation tools on the code?  Does that work?   You can download the code generation tools from this site if you wish to install the older version as well.  You will need a myti login.

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

    Please keep us posted.

    Best Regards,
    Lisa

  • Hi Lisa,

    since cools was renamed , everytime starting CCS, there are tons of errors in error log, which was posted before and one TI guy says all are normal as the file was renamed.

    please read my post in this thread which reported that the problems with CCS0033 and TI demo codes after I installed CCS0033, they dont' work anymore.

  • Lisa TI said:

    Hi Harrison,

    it would be interesting to see if you get any error logs or .dmp files you could send.  It would also be nice to confirm whether this is version related.

    Have you tried letting CCS run the latest code generation tools on the code?  Does that work?   You can download the code generation tools from this site if you wish to install the older version as well.  You will need a myti login.

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

    Please keep us posted.

    Best Regards,
    Lisa

     

    here is the latest details:

    CCS 4.(0033) the latest version;

    TI demo code(HVPSFB kit);

    no breakpoints at all(no disbaled breakpoints either);

    ctools was renamed;

    everytime CCS closes debug session, it is stuck at terminating debug session:removing breakpoints

    in the details:

    "saving target configuration information is finished;"

    "saving device information is finished;"

     

    thanks

     

     

     

  • Hi Harrison,

    I wanted to see whether you are still having these issues?  Have you been able to try the code generation tool version idea? 

    If you are still having issues, we will of course see what we can do to continue looking into this.

    Best Regards,
    Lisa

  • Hi Lisa,

     

    the problem exists with CCS4, so I moved to CCS5 which can pop up a window saying the backround programm is running too long and give you the option to shut down.

    it seems CCS5 rarely has similar problems(breakpoints), but it does stuck sometimes too for unknown reasons.

    I will try to post the crash log with CCS5, you know where CCS5 saves the crash logs?

    thank you,

  • Hi Harrison,

    ok great, and dump files (.dmp) or logs would greatly help us.

    Have a look at this topic for where to find these logs and troubleshooting information.  It should apply pretty much the same to v5.

     

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

     

    Best Regards,
    Lisa

  • The breakpoint message can be a false message in CCSv4.x. This message shows up whenever target terminate takes a long time, so you can ignore it if there is no breakpoint set. In CCSv5.1, I believe this message should be gone.

    Regards,
    Patrick 

  • Hi Harrison,

    I thought I would check whether Patricks answer was helpful? 

    Thanks for the tip Patrick.

    Best Regards,
    Lisa

  • Hi Lisa,

     

    Sorry for not updating it as promised as I am very busy in developing the new products with TI 28027 now.

    Ever since I switched to CCS5, it seems much better than before, so now we can actually work on our project. Thus I put side the problems with CCS4 for the time being unless I continue having it with CCS5.

    Patrick's answer is helpful indeed as it explains the fact behind the symptoms which helps us to understand it better.

     

    By the way, what about the error logs I asked for CCS installation problems?you said your collegues are taking caring of it, but so far I havn't seen the answer yet.

    now since CCS5 is better, we want to install it with XP systems as well.

    thank you

     

     

     

     

  • Hi Harrison,

    thanks for the update.  I am happy to hear v5 is more stable for you.

    I do not think I saw your error logs in any of your posts so we have not yet had anything to look through.  Please let us know if you would like to send them and continue or whether we can close this one for now and should anything come up in the future, we are always here.

    Best Regards,
    Lisa