By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,046 Members | 2,058 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,046 IT Pros & Developers. It's quick & easy.

Text editor hangs while compiling

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

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" <ru*******@hotmail.com> wrote in message
news:uM*************@TK2MSFTNGP12.phx.gbl...
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

Nov 17 '05 #2

P: n/a
Rudy Ray Moore <ru*******@hotmail.com> wrote:
[...]
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

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

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.