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 .............