473,395 Members | 1,689 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,395 software developers and data experts.

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 1699
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*******************@discussions.microsoft.com >
wrote in message news:09**********************************@microsof t.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******@tampabay.rr.comwrote in message
news:uz**************@TK2MSFTNGP02.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
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...
5
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();...
3
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...
4
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
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...
4
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: ...
2
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...
12
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...
6
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++...
0
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...
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:
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
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...
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
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...

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.