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.

"you are required to terminate existing debug session to perform the current action. do you want to continue"

Hello, I am trying to program my target and I keep getting the error shown in the subject.  and it does not program after I click "yes"  

I sometimes get this error about having to cdt consoles open, how do i close them and get to program?

thanks

  • this is what I get the first time I run debug,

    the subsequent times I get error listed in subject

    ccsv5.1

  • Hi Andrew,

    as I am sure you are aware you should be able to debug if you say yes to closing whatever debug session may be open .. ie when you get that message. 

    Some things I recommend trying/checking as a first step

    - do you have any hidden files in your project tree?  Ie did you .project or metatdata etc become hidden files?  Try making them unhidden.

    - try importing the project to a fresh workspace using Project->Import existing CCS/Eclipse Project

    - another thing would be to try the latest release of CCS

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Andrew,

    just wanted to check for any updates with your enquiry.

    Best Regards,
    Lisa

  • Hello,

     

    I was wondering if here was found a solution. I have the same problem with one specific project in my workspace. I tried to options Lisa mentioned but it didn't help.

    I tried:

    - a new workspace

    - there are no hidden files in my directory

    - I updated the compiler from 4.1.2 to 4.1.3

    I am running CCS v5.1. I have it only with one project, the other projects I can start en stop debugging but if i do that to the "problem project" i have to restart CCS before I can start a new debugsession.

    I here a solution for this problem?

     

    Best Regards,
    Jeroen

     

  • Hi Jeroen,

    would you be able to send the problematic project to us offline?  You can do this in a friend or conversation request.

    Best Regards,

    Lisa

  • Hi Lisa,

     

    No, I'm sorry. I can't sent the project because of company secrets.

    I tried an example project, that is working fine. Do you have some suggestions where i can look for the problem or the difference between the projects?

     

    Best Regards,
    Jeroen Begeer

  • Hi Jeroen,

    till today I had the same problems with CCS5.1.

    The following steps solved the problems I had:

    1. close CSS
    2. create a new folder (e.g. d:\css5)
    3. start CSS and select at startup d:\scc5 as workspace
    4. select [project] [new css project] -> project window appears
    5. insert project name [e.g. test] and select the other stuff you are working with
    6. the path of the default location must be d:\css5
    7. as project template select "empty project (with main.c)"
    8. press [finish]
    9. open the folder d:\css5\test
    10. delete the cmd-file in folder d:\css5\test
    11. now copy all *.c, *.h, *.asm and *.cmd files of your "old" project path into the folder d:\css5\test
    12. after this all files should appear automatically in the css project explorer
    13. now build the the project -> if there are errors you may forgot to copy a source file of the old path into d:\css5\test
    14. that's it

    I did it this way and till now everythings works fine.

    Best regards, Tagi

  • Hi Jeroen,

    please let us know whether the tips from Tagi helped.  It could be something is corrupted in the one project and for sure a fresh workspace always helps.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Tagi,

    Thanks for your help. I followed your steps and it solved the problem.

    Best regards,
    Jeroen

  • i keep having this problem reoccur, then I create a new workspace which has worked, but not consistently.

    following the instructions above did not help: during copy do I overwrite .settings and other project files?  i did and it did not work

    Likely something I am doing wrong but what please help this is taking a lot of time. ccs v5.2.1

  • Hi Andrew,

    would you please create a new thread with your problem, logs and further details.  This will help us get you the best support.

    Best Regards,
    Lisa

  • Hi Andrew,

    In my case i noticed that if i copied the .metadata folder of the new working workspace( which I generated when I followed the steps from Tagi) to the not working workspace, I had to add my projects again but then the projects worked fine again.

    Maybe you have something about this information.

    Best regards,

    Jeroen

     

  • thank you very much,I had  the same problem,and i solve it  by your list,Thank you.