473,324 Members | 2,548 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,324 software developers and data experts.

7.1 IDE bug

Hi,

I have about 20 source files open when I start a debug session. Then all of
them are closed! Why is that?? Very annonying. Project is C++, not managed.
7.1.3088.

--
Daniel
Nov 17 '05 #1
18 998

I don't have that problem. But sometimes when I start debugging, my
dockable windows move to the other side of the screen. I don't fight it
anymore. :(

Rudy

"Daniel Lidström" <so*****@microsoft.com> wrote in message
news:1l*****************************@40tude.net...
Hi,

I have about 20 source files open when I start a debug session. Then all
of
them are closed! Why is that?? Very annonying. Project is C++, not
managed.
7.1.3088.

--
Daniel

Nov 17 '05 #2
Rudy Ray Moore wrote:
I don't have that problem. But sometimes when I start debugging, my
dockable windows move to the other side of the screen. I don't fight
it anymore. :(


Keep in mind that the IDE maintains two completeely different window
layouts - one is used when the debugger is active, the other is used when
the debugger is inactive. There's nothing in the IDE that forces these
window layouts to be at all similar. You generally need to arrange the
windows separately for the two modes, but once you've done it once the
settings should "stick".

-cd
Nov 17 '05 #3
Daniel Lidström <so*****@microsoft.com> wrote:
Hi,

I have about 20 source files open when I start a debug session. Then all of
them are closed! Why is that?? Very annonying. Project is C++, not managed.
7.1.3088.

I've seen something similar.
I haven't been able to find a pattern
in this and cannot reproduce it. Just
that once in a while the IDE will close
some/most of the open files when I end
a debug session.
And yes, it annoys me to no end.

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
Nov 17 '05 #4
"Hendrik Schober" <Sp******@gmx.de> wrote in
news:OU**************@TK2MSFTNGP09.phx.gbl:
I have about 20 source files open when I start a debug session. Then
all of them are closed! Why is that?? Very annonying. Project is C++,
not managed. 7.1.3088.


I've seen something similar.
I haven't been able to find a pattern
in this and cannot reproduce it. Just
that once in a while the IDE will close
some/most of the open files when I end
a debug session.
And yes, it annoys me to no end.


This is not a bug that we have seen in our labs. Please let us know if
you are ever able to find some pattern to when this happens. We
certainly want to fix this bug.

Also, does it close all files, even unsaved ones? Does it save them?

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #5
Tarek Madkour [MSFT] <ta****@online.microsoft.com> wrote:
[...]
I have about 20 source files open when I start a debug session. Then
all of them are closed! Why is that?? Very annonying. Project is C++,
not managed. 7.1.3088.

[...]
that once in a while the IDE will close
some/most of the open files when I end
a debug session.
And yes, it annoys me to no end.


This is not a bug that we have seen in our labs. Please let us know if
you are ever able to find some pattern to when this happens. We
certainly want to fix this bug.

Also, does it close all files, even unsaved ones? Does it save them?


That's at the end of debug sessions. I
rarely ever have unsaved files then and I
certainly haven't seen a case where it
closed one of those.
I don't think it ever closed /all/ open
files, although I did see cases where I
was left with two or three open files when
I had more than a dozen of files open when
I stopped debugging.
I see this since I work with VC7.1 and it
happens like once in a months. (At least,
that's how often I realize it. There might
be cases where it closes files that I don't
miss afterwards.) In all the time I haven't
seen any pattern in when it does that.
However, now that I think of it, I remember
that the IDE also often forgets open files
after I get a newer version of some project
file in the solution from our source control
system. (Or does it do this all the time
then? I'm not sure.) Then, after opening the
solution, no file is open at all.

Sorry to be so vague.
Thanks,


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
Nov 17 '05 #6
"Tarek Madkour [MSFT]" <ta****@online.microsoft.com> wrote in message
news:Xn*****************************@207.46.248.16 ...
I have about 20 source files open when I start a debug session. Then
all of them are closed! Why is that?? Very annonying. Project is C++,
not managed. 7.1.3088.


This is not a bug that we have seen in our labs. Please let us know if
you are ever able to find some pattern to when this happens. We
certainly want to fix this bug.

Also, does it close all files, even unsaved ones? Does it save them?


This happens to me (and a few coworkers) as well. In our work environment,
we use the Visual Studio .NET 2003 Professional IDE, but with the Visual
Studio .NET (2002) Professional compilers by modifying the paths.

When I start debugging, the files are always saved anyway, so losing edits
is not an issue. But if during debugging the IDE opens new files and the
number of open files gets to a certain point, then the files from the very
left side (earliest opened) start to close by themselves as newer files are
opened. When the session ends, the files that were closed do not get
reopened (in case that was the intended behavior?).

This is especially annoying because the files on the very left are usually
the ones that I am currently editing/debugging. I have to go into solution
explorer, find and re-open them.

--
Himanshu
Nov 17 '05 #7
"Carl Daniel [VC++ MVP]" wrote:

Rudy Ray Moore wrote:
I don't have that problem. But sometimes when I start debugging, my
dockable windows move to the other side of the screen. I don't fight
it anymore. :(


Keep in mind that the IDE maintains two completeely different window
layouts - one is used when the debugger is active, the other is used when
the debugger is inactive. There's nothing in the IDE that forces these
window layouts to be at all similar. You generally need to arrange the
windows separately for the two modes, but once you've done it once the
settings should "stick".

-cd


Microsoft, take *NOTE* -- this should be a configurable *OPTION*!!!
Nov 17 '05 #8
This is a bad bug. Can you log the issue in the product feedback
center (http://lab.msdn.microsoft.com/productfeedback/) ?

This would be the best way to start investigating this bug and keep
the person investigating the bug in direct communication with those
who see it (you and others on the thread) in order to provide us with
more information as needed.

Thanks
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #9
Julie <ju***@nospam.com> wrote in
news:41***************@nospam.com:
Keep in mind that the IDE maintains two completeely different
window layouts - one is used when the debugger is active, the
other is used when the debugger is inactive. There's nothing
in the IDE that forces these window layouts to be at all
similar. You generally need to arrange the windows separately
for the two modes, but once you've done it once the settings
should "stick".


Microsoft, take *NOTE* -- this should be a configurable
*OPTION*!!!


I'm not sure that this would be a useful option if we did expose
it as an option. My thinking is that I'm normally not interested
in cluttering my editor UI with process, breakpoint, threads,
modules, callstack, watch, autos, memory and similar windows when
I'm not debugging. I only want to see them when I'm debugging and
hence would need to specify a "debugger view" that's different
from my "editor view".

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #10
"Tarek Madkour [MSFT]" wrote:

Julie <ju***@nospam.com> wrote in
news:41***************@nospam.com:
Keep in mind that the IDE maintains two completeely different
window layouts - one is used when the debugger is active, the
other is used when the debugger is inactive. There's nothing
in the IDE that forces these window layouts to be at all
similar. You generally need to arrange the windows separately
for the two modes, but once you've done it once the settings
should "stick".


Microsoft, take *NOTE* -- this should be a configurable
*OPTION*!!!


I'm not sure that this would be a useful option if we did expose
it as an option. My thinking is that I'm normally not interested
in cluttering my editor UI with process, breakpoint, threads,
modules, callstack, watch, autos, memory and similar windows when
I'm not debugging. I only want to see them when I'm debugging and
hence would need to specify a "debugger view" that's different
from my "editor view".


Ahhh, right. My head was in a box.

I was thinking of the solution explorer, property, etc. windows that I use in
both develop and debug views. Forgot about the other debug windows.
Nov 17 '05 #11
I have found that this can happen both on beginning and ending debug
sessions. The IDE may close a subset of files or all files - it seems
completely random. If a file is unsaved and closed by the IDE, it DOES
NOT get saved. Grrrr.

As I debug immediately after a build, the fact it closes files is an
annoyance only as there are generally no unsaved files. But when
debugging, I sometimes change files as I detect small fixes or change
comments, and then I can get bitten bad!

Others in my workplace have found this problem to be bad enough to
preclude the use of Edit and Continue, so we do not use this anymore.

Sorry I can't offer anything more concrete than anecdotal evidence of a
problem, but I can say it seems to be unrelated to the number of files open.

Peter

Tarek Madkour [MSFT] wrote:
"Hendrik Schober" <Sp******@gmx.de> wrote in
news:OU**************@TK2MSFTNGP09.phx.gbl:

I have about 20 source files open when I start a debug session. Then
all of them are closed! Why is that?? Very annonying. Project is C++,
not managed. 7.1.3088.


I've seen something similar.
I haven't been able to find a pattern
in this and cannot reproduce it. Just
that once in a while the IDE will close
some/most of the open files when I end
a debug session.
And yes, it annoys me to no end.

This is not a bug that we have seen in our labs. Please let us know if
you are ever able to find some pattern to when this happens. We
certainly want to fix this bug.

Also, does it close all files, even unsaved ones? Does it save them?

Thanks,


--
If you wish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - no****@nowhere.com :-)

Nov 17 '05 #12
Peter Bromley <no****@nowhere.com> wrote in
news:eZ**************@TK2MSFTNGP15.phx.gbl:
I have found that this can happen both on beginning and ending
debug sessions. The IDE may close a subset of files or all files
- it seems completely random. If a file is unsaved and closed by
the IDE, it DOES NOT get saved. Grrrr.


I'll have the QA team try again to reproduce this. It seems that
quite a number of you are hitting it... and it is a data loss which
makes it even more critical.

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #13
Edit-and-Continue for me definitely makes the IDE crash for me multiple
times in one day, but only one some days (full moons and eclipses?).
And the only thing extra I have installed is the fast-build-solution
plugin (but everyone runs that, right? :).

Peter Bromley wrote:
I have found that this can happen both on beginning and ending debug
sessions. The IDE may close a subset of files or all files - it seems
completely random. If a file is unsaved and closed by the IDE, it DOES
NOT get saved. Grrrr.

As I debug immediately after a build, the fact it closes files is an
annoyance only as there are generally no unsaved files. But when
debugging, I sometimes change files as I detect small fixes or change
comments, and then I can get bitten bad!

Others in my workplace have found this problem to be bad enough to
preclude the use of Edit and Continue, so we do not use this anymore.

Sorry I can't offer anything more concrete than anecdotal evidence of a
problem, but I can say it seems to be unrelated to the number of files
open.

Peter

Tarek Madkour [MSFT] wrote:
"Hendrik Schober" <Sp******@gmx.de> wrote in
news:OU**************@TK2MSFTNGP09.phx.gbl:
I have about 20 source files open when I start a debug session. Then
all of them are closed! Why is that?? Very annonying. Project is C++,
not managed. 7.1.3088.
I've seen something similar.
I haven't been able to find a pattern
in this and cannot reproduce it. Just
that once in a while the IDE will close
some/most of the open files when I end
a debug session.
And yes, it annoys me to no end.


This is not a bug that we have seen in our labs. Please let us know if
you are ever able to find some pattern to when this happens. We
certainly want to fix this bug.

Also, does it close all files, even unsaved ones? Does it save them?

Thanks,


Nov 17 '05 #14
Sean Cavanaugh <se***@gearboxsoftware.com> wrote:
Edit-and-Continue for me definitely makes the IDE crash for me multiple
times in one day, but only one some days (full moons and eclipses?).
And the only thing extra I have installed is the fast-build-solution
plugin (but everyone runs that, right? :).
I have it and Visual Assist, too.
However, I think the problem had bitten me
before I had those.
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
Nov 17 '05 #15
H Gohel <hg****@yahoo.com> wrote:
[...]

When I start debugging, the files are always saved anyway, so losing edits
is not an issue. But if during debugging the IDE opens new files and the
number of open files gets to a certain point, then the files from the very
left side (earliest opened) start to close by themselves as newer files are
opened. [...]


I haven't seen that those are the files
from the left only. These usually are
the ones I work on, too, while the ones
on the right are those I hit furing
debugging and I often wouldn't even
miss them. So I think with me it's
seemingly random ones.
But I might be wrong and will look for
this.
Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
Nov 17 '05 #16
Hendrik Schober <Sp******@gmx.de> wrote:
H Gohel <hg****@yahoo.com> wrote:
[...]

When I start debugging, the files are always saved anyway, so losing edits
is not an issue. But if during debugging the IDE opens new files and the
number of open files gets to a certain point, then the files from the very
left side (earliest opened) start to close by themselves as newer files are
opened. [...]


I haven't seen that those are the files
from the left only. [...]
But I might be wrong and will look for
this.


OK, I just had this again. I had about
six or eight files open, and ended up
with three. The leftmost one still is
open (although I think I moved it to
the leftmost position manually). And it
did not save the file I had just started
to edit when I stopped the app I was
debugging (using SHIFT-F5, BTW).

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
Nov 17 '05 #17
Peter Bromley <no****@nowhere.com> wrote:
I have found that this can happen both on beginning and ending debug
sessions. [...]

Seems this isn't my day. I just had the
IDE close files unwanted the second time
today. Surprisingly this time it was the
very first time I noticed that when I was
/starting/ the debugger.

Schobi

P.S.: Oh, and I think it closed the file
which I had opened last...

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"The presence of those seeking the truth is infinitely
to be prefered to those thinking they've found it."
Terry Pratchett
Nov 17 '05 #18
"Hendrik Schober" <Sp******@gmx.de> wrote in
news:cn**********@news1.transmedia.de:
OK, I just had this again. I had about
six or eight files open, and ended up
with three. The leftmost one still is
open (although I think I moved it to
the leftmost position manually). And it
did not save the file I had just started
to edit when I stopped the app I was
debugging (using SHIFT-F5, BTW).


The debugger QA team is taking another look at this bug trying to
reproduce it in our labs.

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #19

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

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.