473,385 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

vshost.exe and debugging

I have Visual Studio 2005 installed on both a desktop computer and a laptop
computer. Everything is fine on the desktop machine.

On the laptop if I either create a new VB.Net project or try to use a
previously created one, I have a problem with debugging. The debugging
process appears to start with the hour glass blinking on and off but then
nothing really happens. Additionally, the executable is created in the
bin\debug folder, but when you double click on it, it does not run.
However, you can copy the executable to somewhere else on the laptop and it
will run.

After some investigation, I found that on the laptop, by going into the
project properties and unchecking the check box labeled "Enable the Visual
Studio hosting process" that is on the Debug tab, I could then debug the
project.

This problem did not always exist on the laptop. It started sometime in the
past 12 months, I think.

So, what could be different on the laptop from the situation on the desktop
that would be causing this problem? And does anyone know a solution that
would allow me to leave Enable the Visual Studio hosting process" checked
in the project properties' debug tab?

Jan 17 '08 #1
2 3379
On Jan 17, 1:10 pm, "William LaMartin" <lamar...@tampabay.rr.com>
wrote:
I have Visual Studio 2005 installed on both a desktop computer and a laptop
computer. Everything is fine on the desktop machine.

On the laptop if I either create a new VB.Net project or try to use a
previously created one, I have a problem with debugging. The debugging
process appears to start with the hour glass blinking on and off but then
nothing really happens. Additionally, the executable is created in the
bin\debug folder, but when you double click on it, it does not run.
However, you can copy the executable to somewhere else on the laptop and it
will run.

After some investigation, I found that on the laptop, by going into the
project properties and unchecking the check box labeled "Enable the Visual
Studio hosting process" that is on the Debug tab, I could then debug the
project.

This problem did not always exist on the laptop. It started sometime in the
past 12 months, I think.

So, what could be different on the laptop from the situation on the desktop
that would be causing this problem? And does anyone know a solution that
would allow me to leave Enable the Visual Studio hosting process" checked
in the project properties' debug tab?
It's a bug that's been around since the launch of VS 2005, I had it on
my old development box. I'm not sure of a solution, except maybe a
clean install, as I just replaced the computer (yipee!). Also, have
you installed the service pack for Visual Studio? Perhaps that will
fix your problem.

Thanks,

Seth Rowe [MVP]
Jan 18 '08 #2
By the service pack for VS, I assume you mean ENU Service Pack 1. That is
installed on the laptop computer exhibiting the problem.

What is amazing about the problem was that I could find nothing on it--the
debug starting and then apparently stopping. I had to piece together
various information over several months until I settled on the vshost thing.
"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:d3**********************************@j78g2000 hsd.googlegroups.com...
On Jan 17, 1:10 pm, "William LaMartin" <lamar...@tampabay.rr.com>
wrote:
>I have Visual Studio 2005 installed on both a desktop computer and a
laptop
computer. Everything is fine on the desktop machine.

On the laptop if I either create a new VB.Net project or try to use a
previously created one, I have a problem with debugging. The debugging
process appears to start with the hour glass blinking on and off but then
nothing really happens. Additionally, the executable is created in the
bin\debug folder, but when you double click on it, it does not run.
However, you can copy the executable to somewhere else on the laptop and
it
will run.

After some investigation, I found that on the laptop, by going into the
project properties and unchecking the check box labeled "Enable the
Visual
Studio hosting process" that is on the Debug tab, I could then debug the
project.

This problem did not always exist on the laptop. It started sometime in
the
past 12 months, I think.

So, what could be different on the laptop from the situation on the
desktop
that would be causing this problem? And does anyone know a solution that
would allow me to leave Enable the Visual Studio hosting process"
checked
in the project properties' debug tab?

It's a bug that's been around since the launch of VS 2005, I had it on
my old development box. I'm not sure of a solution, except maybe a
clean install, as I just replaced the computer (yipee!). Also, have
you installed the service pack for Visual Studio? Perhaps that will
fix your problem.

Thanks,

Seth Rowe [MVP]

Jan 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
by: Terry Olsen | last post by:
While running my application, either in or out of the debugger, after a while the message box pops up that says "MyApp.vshost.exe has encountered a problem and needs to close." What does the...
10
by: Brett Romero | last post by:
I have a VS.NET 2005 solution with 10 projects. I have unbinded all projects, closed and reopened the solution. When I build, via Nant, I copy all of the PDB and DLLs to the EXE bin/debug folder....
1
by: Pucca | last post by:
I'm getting the follow error message randomly and then my application crashes. How can I locate the bug code and how can I fix this? Managed Debugging Assistant 'DisconnectedContext' has...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
2
by: John A. Bailo | last post by:
I upgrade a Windows Service VS.2003 project to VS.2005 I noticed two new files. MyProject.vshost.exe MyProject.vshost.config What are these? Do I need copy them to the target to run my...
3
by: warth33 | last post by:
Hello Newbie in asp net here. I have been struggling with a problem for weeks, and after analyzing logs I found something new. The problem in short: I have a web app, not done in .net. It is...
0
by: Burton Roberts | last post by:
This is my first Windows Client - WCF program. I'm generally following the pattern shown in Beth Massi videos and developing with VS2008 and SQL Server 2008. I have completed a simple application...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.