473,780 Members | 2,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

debug problem

I have had the following happen to me for the third time in several months
on my laptop but never on my desktop computer while working with a VB.et
project in Visual Studio 2005.

I was working with a Windows project and debugging fine. I only made a few
minutes worth of changes (and did nothing to the VS setup as far as I know).
Then all of a sudden, when I clicked on Debug | Start Debugging, the project
build succeeded, the startup window of the application appeared and
disappeared in a flash. A second try produced the same thing. I checked the
output folders (ProjectName/bin and ProjectName/obj/Release) and found the
application exe there and double-clicked on it. The hour glass appeared and
disappeared a couple of times, but nothing else.

Then I got an idea and moved the exe to another folder on the computer. The
exe ran fine from there and exhibited the changes I had made to it before I
tried to run it in debug mode. This is very strange in that it appears that
from within these folders, the application exe can not be run. Other exes
like notepad.exe will run fine from there.

Finally, this is the situation for all projects including new ones I make.

Turning off the computer and turning it back on does not solve the
problem--unless I wait quite a few hours. In general, the problem somehow
mysteriously fixes itself within 24 hours.

Any suggestions would be appreciated.

Jan 20 '07 #1
3 1737
hmmm...

Have you tried to install Visual Studio 2005 Service Pack 1:
http://msdn2.microsoft.com/en-us/vstudio/aa718695.aspx

"William LaMartin" wrote:
I have had the following happen to me for the third time in several months
on my laptop but never on my desktop computer while working with a VB.et
project in Visual Studio 2005.

I was working with a Windows project and debugging fine. I only made a few
minutes worth of changes (and did nothing to the VS setup as far as I know).
Then all of a sudden, when I clicked on Debug | Start Debugging, the project
build succeeded, the startup window of the application appeared and
disappeared in a flash. A second try produced the same thing. I checked the
output folders (ProjectName/bin and ProjectName/obj/Release) and found the
application exe there and double-clicked on it. The hour glass appeared and
disappeared a couple of times, but nothing else.

Then I got an idea and moved the exe to another folder on the computer. The
exe ran fine from there and exhibited the changes I had made to it before I
tried to run it in debug mode. This is very strange in that it appears that
from within these folders, the application exe can not be run. Other exes
like notepad.exe will run fine from there.

Finally, this is the situation for all projects including new ones I make.

Turning off the computer and turning it back on does not solve the
problem--unless I wait quite a few hours. In general, the problem somehow
mysteriously fixes itself within 24 hours.

Any suggestions would be appreciated.

Jan 20 '07 #2
I have VS 2005 on two computers and have installed Service Pack 1 Beta
sometime back on both so as to be able to work with the SQL compact
databases (formerly called SQL Mobile).

I do not have this problem on my desktop computer--only on the laptop.

Not being able to run the executable created in the project folder but being
able to run it from anywhere else on the computer is one of the strangest
things I have ever run into. And how it seems to self correct within 24
hours is another mystery.
"Joshua Morgan, Developer" <Jo************ *******@discuss ions.microsoft. com>
wrote in message news:09******** *************** ***********@mic rosoft.com...
hmmm...

Have you tried to install Visual Studio 2005 Service Pack 1:
http://msdn2.microsoft.com/en-us/vstudio/aa718695.aspx

"William LaMartin" wrote:
>I have had the following happen to me for the third time in several
months
on my laptop but never on my desktop computer while working with a VB.et
project in Visual Studio 2005.

I was working with a Windows project and debugging fine. I only made a
few
minutes worth of changes (and did nothing to the VS setup as far as I
know).
Then all of a sudden, when I clicked on Debug | Start Debugging, the
project
build succeeded, the startup window of the application appeared and
disappeared in a flash. A second try produced the same thing. I checked
the
output folders (ProjectName/bin and ProjectName/obj/Release) and found
the
application exe there and double-clicked on it. The hour glass appeared
and
disappeared a couple of times, but nothing else.

Then I got an idea and moved the exe to another folder on the computer.
The
exe ran fine from there and exhibited the changes I had made to it
before I
tried to run it in debug mode. This is very strange in that it appears
that
from within these folders, the application exe can not be run. Other exes
like notepad.exe will run fine from there.

Finally, this is the situation for all projects including new ones I
make.

Turning off the computer and turning it back on does not solve the
problem--unless I wait quite a few hours. In general, the problem
somehow
mysteriously fixes itself within 24 hours.

Any suggestions would be appreciated.


Jan 20 '07 #3

"William LaMartin" <la******@tampa bay.rr.comwrote in message
news:uz******** ******@TK2MSFTN GP02.phx.gbl...
>I have VS 2005 on two computers and have installed Service Pack 1 Beta
sometime back on both so as to be able to work with the SQL compact
databases (formerly called SQL Mobile).

I do not have this problem on my desktop computer--only on the laptop.

Not being able to run the executable created in the project folder but
being able to run it from anywhere else on the computer is one of the
strangest things I have ever run into. And how it seems to self correct
within 24 hours is another mystery.

A memory fluke. Try a memory scan but that might not catch it either.

Richard

Feb 20 '07 #4

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

Similar topics

9
2027
by: Dan Perl | last post by:
Is there a mechanism or an idiom for adding code for debugging so that it can easily be removed in the production code? I am thinking of something similar to the C/C++ preprocessor statements with which you can compile an application with the debug code or without it (the default). Dan
5
3146
by: aaj | last post by:
Hi all I have written a small app on my machine that I have passed on to a colleague for testing. The problem is, as soon as he steps through in debug mode and reaches try { conn.Open(); <- HERE
3
2523
by: Stephanie | last post by:
I have a problem that I am trying to solve. We have a huge product with a whole lot of ASP and VB code. VB code is all ActiveX dlls which are used by ASP app. When I attempt to add features or fix bugs, I like to execute the dlls in debug so I can see what is going on. (Some folks in my org seem to have this kinda wacky bias against debugging, as if *real* programmers should not need a debugger. Whatever, it is the fastest way for me to get...
4
4533
by: emma middlebrook | last post by:
I have a question regarding asserting ... here's some code: string GetAssertMessage() { ... prepare a message string and return it... } void SomeMethod() { ...
1
3768
by: Sam Kong | last post by:
Hello! Recently I had a strange problem with Visual C# 2005 beta 1. When I ran(F5 key) a program, <#if DEBUG> statement was not working. It ran as RELEASE mode. So I had to manually define DEBUG to make #if DEBUG work. When I first started the project, this problem didn't exist. The problem started to exist in the middle of doing the project. Today, I decided to figure out what went wrong.
4
11145
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: <debugger_error_message> Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
2
285
by: Steve | last post by:
Error message: "Unable to start debugging on the web server. Unable to map the debug start page to a machine name." I can no longer run the debugger from my local PC for a project on our web server. You know, F5 in Visual Studio. I can run in debug mode for a project on my local web server. The problem began one day about 3 weeks ago when I ran the project in debug mode and somehow ended up breaking the .NET framework. Thank you...
12
3422
by: nospam | last post by:
All the documentation says that leaving an ASP.NET application in debug mode has a big performance hit. I can't detect any difference between debug and non-debug modes. Am I missing something or is the documentation wrong? I've been load testing an ASP.NET website (built in VS.NET 2003 in C#). I've used the ACT to generate heavy loads over several minutes. Debug or no debug produces almost identical performance results.
6
9142
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++ project. I then add a class library, and add a reference to this project in the first project. When I do a release build, I see the following in the output from the DLL compile: /OUT:"C:\Documents and Settings\Andrew\My Documents\Visual Studio
0
1801
by: BA | last post by:
I posted on this once before and could not get a solution, I am hoping someone can help. I have a very strange code debug behavior that I cannot make heads or tails of: I have c# code being executed in BizTalk assemblies which is repeating debug statements. I tried debug.flush() and debug.close() which did not solve the problem. In my BizTalk process I call a static method:
0
9636
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10306
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9931
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...
1
7485
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
6727
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
5504
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
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
3632
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.