Embarcadero C++ builder 10.4.2- Attach to Process not working on 64bit

  32bit-64bit, 64-bit, c++, c++builder, debugging

I used to work with C++ builder 10.1 (Embarcadero), with both 32-bit and 64-bit projects.
Now I am trying C++ builder 10.4.2.
Debugging 32-bit projects work fine, but on projects with 64-bit Target Platform the option “Attach to Process” is not working properly:
There are no red dots beside my code, and the process I was trying to attach my project to get stuck.
What can be the solution for it?

Source: Windows Questions C++