473,513 Members | 2,749 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 1709
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
2013
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
3101
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
2506
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
4508
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
3755
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
11128
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
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...
12
3394
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
9119
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
1784
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
7158
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
7380
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,...
1
7098
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...
0
7523
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...
0
5683
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,...
1
5085
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...
0
4745
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...
0
3232
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...
0
1592
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 ...

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.