Once I start any application from VS with debugger on Any CPU or x86, application exits immediately with exitcode 0. It works fine if I compile application for x64.
I have tried:
Reset VS Settings
Reinstall (repair) .NET
Check paths
Clean/Rebuild solution
Reboot PC
But it did not help.
What could be the issue and how to solve it?
The issue was in running regsvr process.
Once I shut down the proccess, debugging started working without issue.
Related
just starting to look at the Cordova tools for Visual studio.
Creating a blank Cordova probject, I am able to run (F5 debug), for Android and IOS (emulators), and also x86 windows, but for either Any CPU or x64 I get the following error..
The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer.
So I have seen mentioned elsewhere that VS (32 bit) needs to run the above for 64 bit debugging. I have no problems running and debugging a classic desktop WPF.
I have tried disabling both my firewall (Zone Alarm) and any antivirus (Avast), but made no difference.
Anyone have any ideas what the problem could be here (or how to diagnose)
Thanks in advance for any help!
I have this same problem. I use the same applications as you do, Zone Alarm and Avast. If I try to debug and get that error, disabling or stopping the programs do not help. You need to close VS and restart it with the offending apps already disabled, then you'll be able to continue.
I stumbled across this question because I am looking for a way to keep from doing this.
I have a very strange problem with VS 2015 Professional. Suddenly every time that I try to start a UWP application, VS stucks and the app is not starting. I deleted the suo file and restarted VS, I tried also to repair VS but the problem remains. It seems that something doesn't let the apps to execute. Any ideas where the problem could be?
Note: I created and executed a Windows Forms Application with no problem at all.
Well I found the problem. I just disabled the Windows Phone Connection Internal Switch vEthernet Connection that I have created via the Hyper-V manager and now it works prefectly.
When i debug apps on windows7 using VS 2005, it's very slow. just general slowness. works fine on xp.
running outside of the debugger is normal. Even when i start apps outside the debugger then attach and debug it is normal.
im running VS 2005 in Vista compatibility mode.
Any idea what i can do to prevent slowness when debugging?
Seems like the problem happens periodically and is related to the amount and location of breakpoints set in the debugger. The problem can be worked around by attaching to the process after starting it.
For a complete solution, probably need vs2008.
When running the debugger about 50% of the time, Visual Studio 2010 freezes and also locks up my entire machine. I can't even get to Task Manager. Nothing works except my mouse will still move. The only way to recover is to hard boot the machine which takes about 15 minutes each time. I don't have anything else running on my machine at the time except VS, IE 8 (sometimes) and Outlook.
I am running Windows XP on a Lenovo T400 with 3G RAM
Has anyone seen this behavior? If so, how did you fix it?
Thanks,
Rhonda
You don't mention what language your app is but I have run into this with our C++/CLI application on occasion. To avoid it, I changed the Project properties / Debugger and specify "Native" or "Managed" explicitly for the debugger type. The default of "Auto" can get confused.
Also, if you use Application Verifier from Microsoft, I have had VS hang while AV was configured to verify our .exe. To avoid this, we have to launch the app under the debugger as "Native".
I have Visual Studio 2010 Ultimate for Windows 7 installed along with the Windows Phone Developer Tools (XNA 4.0). The installations went smoothly (no errors reported during install), but when I start debugging I get an error saying: "Attaching the ProteusDebugEngine debugger to process '[XXXX] projectname.exe' on machine 'MYCOMP' failed. Invalid Pointer"
However when I go to the debug menu and I choose start without debugging the program launches just fine. How can I fix this error? (Also everything works fine if I try debugging a Windows Phone Game... But when I try to debug an XNA 4.0 Windows Game I get the error message...)
EDIT:
When I start Visual Studio 2010 in safe mode and try to open a project it gives me an error and says that the project type is not supported by this installation...
Check the extended error message, there's usually a hint about which module crashed or isn't found, and it'll tell you to manually register it. Then try starting in safe mode to see if it works, because plugins that haven't been updated for XNA debugging can cause crashes. (Old versions of Resharper, for one.)
Reinstalling visual studio did not help.
Just reimaged then reinstalled and it fixed the problem.