fail to exit C++ Builder

Hi Experts,

   I want to exit C++ Builder, however I was asked :
 Debug session in progress. Terminate ?

   I clicked OK and then got : " Unable to terminate process" ...

  so how do I  exit the program properly ?

many thanks !
LVL 1
meow00Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WoodsterCommented:
You are in the middle of riunning your application.  You need to terminate the debug session by presst Ctrl F2 or selecting Run | Program Reset from the C++ Builder main menu.
0
WoodsterCommented:
... or you could just let your application run through until it terminates normally of course.
0
meow00Author Commented:
I tried Project|Program Reset and Ctrl F2, but I got
" Unable to terminate process" as well ... :-(

is there any other way to do this ?
0
WoodsterCommented:
Is the error occurring when you select Program | Reset and Ctrl F2.  Or is it still occurring when you are trying to Close CBuilder?

If you select the Run option from the menu bar are the Step Over and Trace Into options enabled or disabled.  Also, is the Program Reset option enabled or disabled?  This will at least tell you if you're application is still running in a debug state or not.

I have seen this happen in C++Builder if you have manually terminated your application using the Windows Task Manager, rather than the Program | Reset option.  If this is the case, you may also need to manually terminate C++ Builder as well as it is trying to terminate a debug session that you have already manually terminated.  In future, use Ctrl F2 or Program | Reset to terminate your debug session (if this is actually what you have done)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SteHCommented:
I had this happen when I closed the application but threads of it where still running.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.