Electronic – Kiel debugger exits automatically

debuggingkeilmicrocontrollertm4c123g

I am using Keil uVision5 for programming TI launchpad TM4C123GXL.

The Keil work perfectly fine for Building and flashing the programs (examples projects of Tiva Ware).
But when I start the Debug session, At first DebuggingMode seems to open perfectly but a second afterword it automatically shuts down.

I have the same software working fine on another PC but it is not working on my laptop.

How can I remove this bug so that I can do Debugging?

It used to work fine a few months ago. But now it's not working. Do I have changed any setting?
I have reinstalled the Keil but the problem persists.

Best Answer

This is a known bug in Keil. It is related to Keil's registry entries. The bug-fix is described here: RegistryFix for Keil Debugger