473,770 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5241
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**********@n ospam.nospam> wrote in message
news:A4******** *************** ***********@mic rosoft.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**********@n ospam.nospam> wrote in message
news:A4******** *************** ***********@mic rosoft.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
2890
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. regards,
0
1265
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 just disappears. Can't the CLI equivalent be run from a web page located on the build machine. The build machine has VS.Net 7.1.3088 and MS.net framework 1.1.4322.n other words the VS.Net 2003 installation package.
0
1507
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 6 project. When I build the solution in a Visual Studio .NET workspace, it builds successfully with no errors in either project.
0
1195
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 devenvdgg.xml is missing or corrupted. To correct problem copy devenvdgg.xml from your setup location to the following folder in your installation directory ".../Microsoft Visual Studio .Net 2003/Common7/Ide." This is the fourth time I have run...
0
1386
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 shows, just before choosing "Add Resource", the lines below: 'devenv.exe': Loaded 'E:\Arquivos de programas\Microsoft Visual Studio ..NET\Vc7\vcpackages\VCProject.dll', No symbols loaded.
1
1426
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 devenv.exe is accessing a lot of files of ALL my projects (.cpp files, .h files ...) !!!
3
392
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 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...
3
1263
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 hangs. I don't have this problem trying to create a console app, so I'm pretty sure it's ASP.NET related. I've tried checking my server extensions (which didn't work), removing and re-installing the server extensions (which also didn't work), and...
1
4512
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 file it creates a .msi file with 5k size, however, if I build my solution via the IDE then I get a correct .msi with 9MB. I am using the devenv in a batch file as follow: @set projdir=E:\netproject
0
10101
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.