Menu

#81 Checking OpenOCD already running on start debugging

Time Permitting
closed
None
5
2015-03-25
2014-12-28
belerafon
No

Hi. On Windows (do not know how it is in Linux) sometimes Eclipse can freeze while debugging and user need kill them and restart Eclipse. But openOCD process stay running. When user try to run new debug session with "GDB OpenOCD Debugging" then second openOCD process can't start and say about some errors like "can't open USB" and etc. User can spend a lot of time to understand what happens and after kill previously runned openOCD.
Maybe useful automatically check to other copy of openOCD process on start debug session and say about it to user (if "Start OpenOCD locally" on Debugger tab is used). Maybe need a special checkbox to enable this checking because sometimes one can use complex development with several copies of openOCD and Eclipse.

Discussion

  • Liviu Ionescu (ilg)

    ... Eclipse can freeze while debugging and user need kill them and restart Eclipse
    ... automatically check to other copy of openOCD process on start

    this is quite complicated, I doubt it will be implemented, generally when a program crashes you need to manually clean the mess before restarting.

     
  • Liviu Ionescu (ilg)

    • status: open --> pending
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    • status: pending --> closed