Debugger unable to terminate

Posted on 2011-05-04
Last Modified: 2013-12-16
I am developing an application that uses several RS232 devices. When breaking on a break point with the debugger often results in an error: “The debugger was unable to terminate one or more processes. [0195C] Main.vhost.exe: Access is denied.”. The most frustrating thing about this is that I have to reboot my computer to recover. Any ideas why this is happening or how to terminate without a reboot?  
Question by:ychuri
    LVL 29

    Expert Comment

    I remember I had similar problems but can't recall details. Definitely it was not related to any external communication devices. I was able to stop processes (including VS) from the task manager. Did you try TM to kill tasks?

    Author Comment

    Yes. I have tried TM and couldn't terminate the process (it seems like a process of VS still remain running after it was supposedly closed)
    LVL 6

    Accepted Solution

    I've seen problems where a thread failed to terminate because it was still being used by a COM port.   I had to unplug the cable to get the COM port released by Windows, which then allowed the thread to close.  

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video discusses moving either the default database or any database to a new volume.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now