When stopping debugging, the application hangs while showing a dialog "Deleting debug segments"

When stopping debugging, the application hangs while showing a dialog “Deleting debug segments”. It’s using 100% CPU, and since there is no progress indicator, I don’t know if it is doing something and there is an end to it, or it is stuck in an infinite loop. It’s been running over 10 minutes now.

OK, I let it run during the night, and it actually completed. So it did something, but I was looking at the dialog for at least 25 minutes, and then I left it overnight, so I don’t know how long it actually took.

So please add some progress bar indication so we know how long it is going to take approximately.

Note that it happened when I pressed the stop debugging button. Today I tried just detaching the debugger, and then deleting debug segments only took a second.

Hi, good to hear it eventually completed.

No doubt it can be frustrating when there’s no visible indication of progress - especially when it’s unclear if the process is just slow or actually stuck. The idea of the progress indicator bar for potentially longer processes, like that one for the “Deleting debug segments” dialog, seems to be something to consider as a potential improvement, so I moved this topic to the feature request section.

In the meantime, as you found out, detaching the debugger can indeed prevent delays and reduce the waiting time.