Text editor hangs while compiling

  • Thread starter Thread starter Rudy Ray Moore
  • Start date Start date
R

Rudy Ray Moore

Hi guys,

I just upgraded to "Visual Studio .net 2003 7.1 c++" from VS6.

Some things I like (proper for loop variable scoping, for example), but some
other things are troubling me.

One annoying behavior is that the text editor often "hangs" (doesn't let me
type) while compiling. Is there a way to fix this so it behaves more like
VS6 (editor does not hang while compiling)?

To be honest, I can't think of a good reason that the user shouldn't be able
to type in the editor while compiling... especially if not editing a source
file. Theoretically I could do all my editing in notepad.exe and not have
this problem, but it would be nice to use the features of the "Visual Studio
..net 2003 7.1 c++" text editor.

Thanks,

Rudy
 
I've looked at this a bit more. It appears to happen at the "end" of the
compiling phase of a file. I assume this is probably when the .obj is being
created.

I know this because the lock on the editor is released just as the Output
window moves on to the next file.

Does anyone know why the text editor is disabled while the .obj is being
written? I have noticed that gcc doesn't lock vi when creating object code,
so I don't think it's necessary.

Rudy
 
Rudy Ray Moore said:
[...]
Does anyone know why the text editor is disabled while the .obj is being
written? I have noticed that gcc doesn't lock vi when creating object code,
so I don't think it's necessary.

While the compiler generally is not very
cooperative, when it is "Generating Code"
it more or less blocks the whole machine.
I got into the habit of lowering the
priority of "vcspwan.exe" as soon as I
started a compilation. However, that only
helps when you compile a lot of files and
you will have to do it again for each
project in the solution.
Very often I work with the real solution
and a solution containing test projects.
Then I have one IDE set to lower priority
(this is inherited by the compiler) and
work in the other.
But you are right, this is annoying and
we shouldn't have to go through such hoops.

Can't we have an option to start the
compiling processes using a lower priority
than the IDE's?
Rudy
[...]

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
Back
Top