Unable to debug SharePoint Code - visual-studio-2010

I cannot seem to debug any of my SharePoint code because of this issue. SharePoint 2010 and vs 2010 in windows 7. I have tried going to the help and doing some suggested commands and such but nothing seems to help.
Has any one encountered this? Know what to do?

Related

How do I get a VBscript External tool that worked in Visual Studio 2012 but not in Visual Studio 2013?

We are receiving an unexpected error when using our VBScript external debugging tool. We used this link in the past to create the external tool:
Visual Studio 2013 and VB Scripts
It has worked fine in VS2013 when we created the tool. Well, we moved to a new machine and now this tool will not work. We receive the following error asking us to register the PDM.dll or it is missing, which we have done. I'm assuming it is a configuration issue of some sort either in the Visual Studio 2013 or elsewhere. Would anyone have experience with this or could offer a suggestion?
Error:
"The script debugger failed to connect to the target process. The correct version of pdm.dll is not registered. ...."
I know this is common error but we have tried the common fixes that we are ware of.
Thanks!
When I loaded VS 2012 (with VS 2013 still installed), somehow it fixed the issue. Both 2012 and 2013 can debug VBScripts with use of the External Tool created for VBScript debugging. We had this issue before in the past, on the previous machine (i.e. PC), it was just the opposite fix. VS 2012 wouldn't debug VBScripts with the External Tool created, but after loading VS 2013 it worked. Somehow, the second installation changes the configuration which impacts both versions, resulting in the VBscript target connection to work.

Visual Studio 2013 issue - even after reinstall

No matter what I do, with the Windows forms C#, I'm constantly getting this error
http://prntscr.com/7owfk2
When trying to add any text boxes. That's on a clean project. I don't know what to do. I cannot use VS2013 because of that error.
Any help? Thanks
I fixed this error by scrapping Visual Studio 2013 and installed Visual Studio 2015 RC. It's not really a fix, but it resolved my issue.

Visual studio 2010 unable to debug web application. Maybe corrupt installation?

I can't debug my Sharepoint 2010 project. Visual Studio 2010 shows me the following error message:
Unable to attach to he process. An error occurred that usually indicates a corrupt installation (code 0x80040154). If the problem persists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.
I experienced this problem some days ago for the first time.
At first repairing helped, but after a little time the error occurred again.
I have tried restarting computer, too, after which the problem was gone for only a little time.
I have uninstalled/reinstalled visual studio, but still no success.
How can I solve this problem, I have no idea about the reason.
EDIT: I have noticed that the problem occurs only when I try to debug a workflow code.
I have had this issue in the past and solved it by ensuring I'm compiling the code to x64. Check your settings in Visual Studio. SharePoint is 64bit only.
Good Luck.
I had a problem with the javascript debugger on a web project, and I got a similar error message. The fix was: Closed all instances of Visual Studio. I threw away the app in inetmgr, and re-opened visual studio with my solution that has my web app. It re-created the virtual directory on opening. Javascript debugger started working again.

VS cannot load VSPerfControl.Interop

When attempting to use the profiler in Visual Studio Ultimate 2010, the IDE throws the titular error. I've looked around, but the only thing I could find was adding the file to the GAC, but this does not appear to have solved my problem. Any suggestions on how I can fix this?
Download and install the Visual Studio 2010 Performance Tools with Service Pack 1
This resolved this error for me, but YMMV

VS 2010 Express - Web - Very slow in debugging

I have got a pretty good config machine and VS 2010 Web Express edition debugging is very slow. it gets stuck between lines. I dont face this issue with Visual studio 2010 prof edition.
Any hotfix or patches or solution for this?
I faced a similar problem in VS 2008. Deleting(not disable) all breakpoints and restarting the debug session helped me get back to normal debugging.
You can give it a try.

Resources