Debugging protected procedures is also supported in HDevelop. If such a procedure is selected in the program window, you will be prompted for a password to unlock it. Unlocking protected procedures only has an effect inside HDevelop. The state of the procedures in the external application does not change. The unlocked state is only valid for the current debug session. If you or another user reconnects to the same process, the procedures will be locked again. There is no explicit way to relock an unlocked procedure during debugging. You can stop debugging and attach again to achieve this.