Code debugging-single-step debugging

Source: Internet
Author: User

My vs2005 has been able to perform single-step debugging all the time. However, after I recently run the optimization master, I cannot perform single-step, one-by-one, and other debugging, each time you run a single-step debugging (F11 or F11 or another method), a dialog box is displayed, with the message "An error occurred while trying to run the project: Debugging cannot be started. Invalid binding handle ";

There is no responsibility in the future, so we enter the vast Internet, what do you know .....................................

Cause:
...... I do not know yet ~~ Pai_^
Solution:
Method 1:
Start the Terminal Services Service (right-click my computer --> Manage --> service --> Select automatic as the Startup Type of the Terminal Services Service, and then click Start ). It allows users to connect to a remote computer in interactive mode. Remote Desktop, quick User Switching, remote assistance, and terminal server dependency-stopping or disabling this service will make your computer unreliable. To prevent Remote use of this computer, clear the check boxes on the Remote tab on the System Properties Control Panel project.
Method 2:
Project ---- (Project) properties ---- debug ---- enable the debugger. Select "enable unmanaged code debugging (u )".

 

Ah, if you do not know why or why, follow the steps above. Hey, you know how it is.

 

------------------ Silly, do you still use guesses? Of course you can use them. Bye .............

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.