473,385 Members | 2,243 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.

Devenv.exe Hangs on Run

Has anybody experienced this problem?
I have a solution that consists of 6 or 7 projects.
Every so often (2 or 3 times a week) when I click Run, everything builds
seemingly OK, but then, just when I would expect the app to start, nothing
happens, and the task manager shows devenv.exe sitting at 100% cpu, fixed
memory (about 127 Megs), forever. The only way out is to kill it from the
task list.

When this happens, I can usually fix it by deleting the OBJ folder under the
main project. But once in a while, this doesn't work. In those cases, I've
tried deleting ALL the OBJ and BIN folders under all the projects, and
sometimes it still happens.

So far, when I'm totally stuck like that, I delete the entire source tree
and get it again from Source Safe.

What is going on? How can I prevent this?

Thanks,
---Selden
Jul 21 '05 #1
3 5211
Have you seen this:
http://blogs.msdn.com/andypennell/ar.../13/72617.aspx

Also this:
http://support.microsoft.com/default...;EN-US;Q326098

Note: if you have Framework 1.1 SP1, the bug described in the KB article
above is fixed.
http://msdn.microsoft.com/netframewo...sptechpreview/

Hope this helps,
--- Nick

"Eric Beaudry" <eb**********@nospam.nospam> wrote in message
news:A4**********************************@microsof t.com...
We do experiment that kind of problem too. We have a solution with 43
projects so you can imagine how often it can happen here!

We've been able to see that the memory usage of devenv.exe is continualy
rising(on each run with debugging) and when we approche 300 megs we start
having strange results. One of these is "debugger can't attach to process and hang" until we hit the stop button.

Are you having the same evidences?

Eric Beaudry
"Selden McCabe" wrote:
Has anybody experienced this problem?
I have a solution that consists of 6 or 7 projects.
Every so often (2 or 3 times a week) when I click Run, everything builds
seemingly OK, but then, just when I would expect the app to start, nothing happens, and the task manager shows devenv.exe sitting at 100% cpu, fixed memory (about 127 Megs), forever. The only way out is to kill it from the task list.

When this happens, I can usually fix it by deleting the OBJ folder under the main project. But once in a while, this doesn't work. In those cases, I've tried deleting ALL the OBJ and BIN folders under all the projects, and
sometimes it still happens.

So far, when I'm totally stuck like that, I delete the entire source tree and get it again from Source Safe.

What is going on? How can I prevent this?

Thanks,
---Selden

Jul 21 '05 #2
Those are really about the fact that the debugger hangs, which is fine since
the title of the post is exactly that! So I'll try your suggestions.

Do you have any ideas about the memory consuption problem. Everytime we
start the solution we end up with more memory allocated to devenv.exe.
Sometimes up to 700 megs! This is probably part of the problem too, since the
debugger rarelly survive the next run!

We have noted that if we stop the debugger "with the stop button" instead of
closing the browser (we are debugging an ASP.net solution) we regain a bit
more of that allocated memory.

Any ideas are welcome,
Thanks


"Nick Malik" wrote:
Have you seen this:
http://blogs.msdn.com/andypennell/ar.../13/72617.aspx

Also this:
http://support.microsoft.com/default...;EN-US;Q326098

Note: if you have Framework 1.1 SP1, the bug described in the KB article
above is fixed.
http://msdn.microsoft.com/netframewo...sptechpreview/

Hope this helps,
--- Nick

"Eric Beaudry" <eb**********@nospam.nospam> wrote in message
news:A4**********************************@microsof t.com...
We do experiment that kind of problem too. We have a solution with 43
projects so you can imagine how often it can happen here!

We've been able to see that the memory usage of devenv.exe is continualy
rising(on each run with debugging) and when we approche 300 megs we start
having strange results. One of these is "debugger can't attach to process

and
hang" until we hit the stop button.

Are you having the same evidences?

Eric Beaudry
"Selden McCabe" wrote:
Has anybody experienced this problem?
I have a solution that consists of 6 or 7 projects.
Every so often (2 or 3 times a week) when I click Run, everything builds
seemingly OK, but then, just when I would expect the app to start, nothing happens, and the task manager shows devenv.exe sitting at 100% cpu, fixed memory (about 127 Megs), forever. The only way out is to kill it from the task list.

When this happens, I can usually fix it by deleting the OBJ folder under the main project. But once in a while, this doesn't work. In those cases, I've tried deleting ALL the OBJ and BIN folders under all the projects, and
sometimes it still happens.

So far, when I'm totally stuck like that, I delete the entire source tree and get it again from Source Safe.

What is going on? How can I prevent this?

Thanks,
---Selden


Jul 21 '05 #3

Although I don't understand why it works, I have found a work-around:
In my case, I created a NEW solution, and then added the existing
projects one-by-one back into the solution.

Now it loads, compiles, and runs normally.

If you haven't tried this, see if it works for you (although 64 projects
is a lot of work!)

---Selden

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4

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

Similar topics

0
by: SR | last post by:
Hi Would suggest that instead of using the process class and invoking the devenv, u try using the VS.Net object library. This will help you perform the operations in a much more controlled way....
0
by: Craig Leigh | last post by:
I have created a website to perform simple builds for our development staff. When I call devenv.exe from a batch file, a cgi script or a compiled 'C++' program the program times out, won't run or...
0
by: micc | last post by:
I am using devenv to build a solution. The Solution comprises 2 projects :- one C++ and the other a Fortran project. I created this solution by automatically converting a Visual Studio version...
0
by: dsmith | last post by:
I installed VS .Net 2003 60 day trial version in Windows XP Pro environment. When I tried to launch VB .Net I got the following error: "Visual Studio ..Net is unable to start because the file...
0
by: Marcos Lima | last post by:
Hi, Does anybody reach this situation: When selecting "Add Resrouce", on a .rc file, the IDE disappear suddenly. I debuged the devenv.exe with another instance of it, and the output window...
1
by: arkam | last post by:
Hi, I am using VC7.1 to build a big solution (70 projects, lets say project A, B, C, ...). I am using filemon to look at what VC7.1 does while compiling project A. And I see that...
3
by: Selden McCabe | last post by:
Has anybody experienced this problem? I have a solution that consists of 6 or 7 projects. Every so often (2 or 3 times a week) when I click Run, everything builds seemingly OK, but then, just when...
3
by: Scott McNair | last post by:
Hi, I'm having a problem with ASP.NET projects using .NET 2003. Whenever I try to access a web application (whether I'm trying to create a new one, or access an existing one) the software...
1
by: wandii | last post by:
Hi, I've been working with devenv from the command line for the last couple of days and cannot get to build the msi file correctly. if I excecute the devenv.exe via the command line or batch...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.