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.

I just upgraded from CCS 4.2 to CCS 5.2 for the MSP430.  Every time I attempt to debug my application I receive the error message "You are required to terminate existing debug session to perform the current action.  Do you want to continue."  Could you some please shine some light an what is going on?

 

Thank You

 

Jason Cobb

  • Hi Jason,

    Jason Cobb said:
    "You are required to terminate existing debug session to perform the current action.  Do you want to continue."

    That message usually appears if you try to start a new debug session while you already have an existing debug session active.

    Example:

    You have project A for MSP device 1. And you have project B for MSP device 2. You want to debug project A so you press the Debug button to build, start the debugger, connect to device 1 and load/flash your program. Then you go back to the CCS Edit perspective and select project B and press the Debug button. CCS will detect that you are already debugging project A on device 1 so to debug project B on device 2, you need to shutdown the first current session.

    I used an example with two projects and two devices but it can apply if you have just one project and one device. Really it is saying that you already started one (debug session) and didn't shut it down yet but am trying to start another one.

    I don't think this behavior changed from 4.2 to 5.2 so I'm surprised if you never saw the issue before when working the same way

    ki

  • Thank you for the quick reply.  I guess I should have been a little more detail in the explanation of my installation and problem.  I should mention that versions 4.2 and 5.2 are concurrently installed on my Windows 7 machine.  However, I am only using version 5.2.  The existing debug session error occurs everytime I try to initiate a debug session, even after a fresh reboot of the machine.  I have tried creating new projects and even using the sample projects.  Everything results in the same result. 

  • For some reason, CCS thinks there is an existing debug session already running when you try to start a new debug session. You mentioned trying new projects. Did you try a new workspace?