دوست عزیز
با توجه به توضیحاتی که دادید ممکن است
هنگامی که برنامه شما دچار مشکل می شود اجرای آن را تا پایان برنامه و خارج شدن نرمال ادامه نمی دهید
ـــــــــــــــــــــــــ ــــــــــ
اگر اینطور است
برای اینکه دچار مشکل نشوید
پس از اینکه برنامه دچار اشکال شد دوباره کلید F9 را زده و سعی کنید به صورت طبیعی از برنامه خارج شوید
در صورتی که موفق به این کار نشوید ممکن است مجبور به خروج از دلفی و زدن End Task بر روی اجزای باقی مانده از برنامه بشوید
یا در بعضی از موارد Restart کردن سیستم
/××××××××××××××××××××××××× ××××××××××××××××××××
راهنمای دلفی این موضوع را در زیر این عنوان Program Reset توضیح می دهد
Run|Program Reset
.....
Windows resources
Resetting a program does not necessarily release all Windows resources allocated by your program. In most cases, all resources allocated by VCL routines are released. However, Windows resources allocated by code which you have written might not be properly released.
If your system becomes unstable, through either multiple hardware or language exceptions or through a loss of system resources as a result of resetting your program, you should exit Delphi before restarting your debugging session.
<span dir=ltr>
However, Windows resources allocated by code which you have written might not be properly released.
</span>
موفق باشید