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

Text editor hangs while compiling

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
2 1849

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Ed Suominen | last post by:
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted. An initial plan is to use a Twisted PB server daemon that accepts user:password:file connections from...
6
by: Verne | last post by:
I was just wondering if anyone else is using this program in the Enterprise edition as I'm a little disgusted with the Tutorial on the Editor. Worked fine withe the exception that one line of code...
1
by: IkBenHet | last post by:
Hello, I found this script to create a simple rich text form (http://programmabilities.com/xml/index.php?id=17): <html> <head> <title>Rich Text Editor</title> </head> <body>
4
by: johnwind | last post by:
Hello All, I hope someone out there has some input on this problem, it driving me nuts. This problem only occurs with one code .mdb out of many I have on my system, which implies the problem...
2
by: norvinl | last post by:
Hi, I have a textbox on a form. When I assign a string to the .Text property while in my form's constructor, the program just hangs indefinitely. Alternatively, if I assign the string to the...
0
by: Joakim | last post by:
Hi, my VC.NET 2003 IDE hangs for hours when compiling my ATL7-project. It seams to compile fine and starts linking. This look OK to. But right before the component registration ("Performing...
20
by: filox | last post by:
can anyone recommend any good editors for C++ (having in mind that i don't want to use MS visual studio)? you know, something that has syntax highlighting, and preferably something like...
1
by: Hans Kesting | last post by:
Hi, I can't get a vs2008 solution to compile. I have copied the source from a (compiling) 2.0 web-application to a new directory (I didn't want to change the old code), and tried to compile...
3
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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
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,...

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.