473,378 Members | 1,110 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,378 software developers and data experts.

About VC# 2005 express "error list"

Hello,
I'm very new to C# and just installed VC# 2005 express edition and i
have VB 2005 express installed previously. But i saw a thing which may
be called as a "Visual C# 2005 express" bug?

For example, in VB 2005 express while i was coding, if there's a
coding error, errors are displayed in error list below the screen
immediately during coding and before starting debugging.

But in VC# 2005 express, if there's a coding error, usually you see
the error in error list AFTER you debug your program or click
somewhere on the screen late. The present syntax errors aren't
displayed simultaneously while you're typing.

Why is there a problematic coding-error tracking problem in VC# 2005
express?

Thanks.

Oct 17 '07 #1
11 1991
kimiraikkonen wrote:
[...]
But in VC# 2005 express, if there's a coding error, usually you see
the error in error list AFTER you debug your program or click
somewhere on the screen late. The present syntax errors aren't
displayed simultaneously while you're typing.

Why is there a problematic coding-error tracking problem in VC# 2005
express?
I see two possibilities, neither of which I'd consider a bug:

* The Express editions generally install different default settings
than the retail versions, because they are generally targeted at a
somewhat different audience (even though Express is IMHO surprisingly
useful for even more advanced programming). So it's possible this
behavior is controlled by some user setting, not disabled in Express but
rather just turned off by default. This wouldn't be a bug; you just
need to turn the feature on.

* The Express editions obviously have specific functionality that
is limited with respect to the retail versions. My experience has been
that the sorts of things that are completely disabled aren't basic
usability issues like the one you mentioned, so it would surprise me if
that's the answer here. But it is a possibility, and if it turns out
that there's no user setting to control that behavior, I'd say that the
lack of the real-time error display is a consequence of an intentional
design difference between the two versions. Again, this wouldn't be a bug.

I haven't really spent any time looking into this, so I can't tell you
whether there's a user setting, and if so where it is. But I don't
think that I'd call the Express edition's behavior a "bug". Whatever
the explanation, it's more likely it's an intentional part of the design
of the software.

Pete
Oct 17 '07 #2
kimiraikkonen wrote:
Hello,
I'm very new to C# and just installed VC# 2005 express edition and i
have VB 2005 express installed previously. But i saw a thing which may
be called as a "Visual C# 2005 express" bug?

For example, in VB 2005 express while i was coding, if there's a
coding error, errors are displayed in error list below the screen
immediately during coding and before starting debugging.

But in VC# 2005 express, if there's a coding error, usually you see
the error in error list AFTER you debug your program or click
somewhere on the screen late. The present syntax errors aren't
displayed simultaneously while you're typing.

Why is there a problematic coding-error tracking problem in VC# 2005
express?

Thanks.
This is not a bug.
c# doesnt do continual incremental builds as vb.net does (this is a good
thing) and therefore does not have the ability to highlight syntax
errors "on-the-fly".

JB
Oct 18 '07 #3
John B wrote:
This is not a bug.
I think that's probably true. But...
c# doesnt do continual incremental builds as vb.net does (this is a good
thing) and therefore does not have the ability to highlight syntax
errors "on-the-fly".
That's definitely not true. In the retail Visual Studio 2005 that I
use, C# is constantly evaluating what I type, highlighting errors and
listing them in the error output pane.

Pete
Oct 18 '07 #4
On Oct 17, 10:11 pm, Peter Duniho <NpOeStPe...@NnOwSlPiAnMk.com>
wrote:
John B wrote:
This is not a bug.

I think that's probably true. But...
c# doesnt do continual incremental builds as vb.net does (this is a good
thing) and therefore does not have the ability to highlight syntax
errors "on-the-fly".

That's definitely not true. In the retail Visual Studio 2005 that I
use, C# is constantly evaluating what I type, highlighting errors and
listing them in the error output pane.

Pete
But it does not do nearly as much as VB does. For example, in VB if
you used a line such as this:

Dim obj As SomeTypeName

and SomeTypeName was not defined, you would know it immediately as an
error would be in the error list. In C# you wouldn't see an error in
the error list until you compiled the program. I know that C# catches
some things immediately like missing parentheses, braces, or missing
semi-colons, but VB's background compiler catches practically all
compile time errors without hitting the compile button.

Chris

Oct 18 '07 #5
On Oct 18, 3:20 pm, Chris Dunaway <dunaw...@gmail.comwrote:
But it does not do nearly as much as VB does. For example, in VB if
you used a line such as this:

Dim obj As SomeTypeName

and SomeTypeName was not defined, you would know it immediately as an
error would be in the error list. In C# you wouldn't see an error in
the error list until you compiled the program.
It might not be in the error list, but it's still clearly indicated.
SomeTypeName would be in red, and if you were just missing a "using"
statement it would offer to add it for you.

Given that while I'm typing code I'm looking at the code window rather
than the error list, I don't think having it in the error list as well
would add much value. It's not like I often move onto the next block
of code without getting the current one right.

Jon

Oct 18 '07 #6
I don't know the exact reason but it's NOT good. IN VB.NET 2005
express, there's no need to compile/debug your project to see if your
project has syntax erros. They're shown in error list "immediately".
But in C# some mistakes are shown after clicking somewhere blank, or
after you try to debug/compile it.

Is it special for C# or is it because of "express" edition?

Thanks.
Oct 18 '07 #7
On Oct 18, 3:57 pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
I don't know the exact reason but it's NOT good. IN VB.NET 2005
express, there's no need to compile/debug your project to see if your
project has syntax erros. They're shown in error list "immediately".
But in C# some mistakes are shown after clicking somewhere blank, or
after you try to debug/compile it.

Is it special for C# or is it because of "express" edition?
It should be fine even in Express. It may not catch *every* syntax
error, but it flags up most errors in my experience.

Then again, I believe in compiling pretty regularly in the first
place. So long as it's quick to compile, there's no real issue.

Jon

Oct 18 '07 #8
Chris Dunaway wrote:
>>c# doesnt do continual incremental builds as vb.net does (this is a good
thing) and therefore does not have the ability to highlight syntax
errors "on-the-fly".
That's definitely not true. In the retail Visual Studio 2005 that I
use, C# is constantly evaluating what I type, highlighting errors and
listing them in the error output pane.

But it does not do nearly as much as VB does.
Since I don't ever use VB, I can't compare VB to C# with respect to IDE
behavior. But that doesn't mean that C# doesn't do any code-checking
"on-the-fly".

VS definitely does highlight syntax errors "on-the-fly" even in C#, at
least some of them, and it's that to which I was responding.

Pete
Oct 18 '07 #9
Peter Duniho wrote:
John B wrote:
>This is not a bug.

I think that's probably true. But...
>c# doesnt do continual incremental builds as vb.net does (this is a
good thing) and therefore does not have the ability to highlight
syntax errors "on-the-fly".

That's definitely not true. In the retail Visual Studio 2005 that I
use, C# is constantly evaluating what I type, highlighting errors and
listing them in the error output pane.
Hmm, seems you're correct.
It never used to(I think) in 2003, personally I have the error window
minimized to maximise code realestate.
It seems finicky about what it picks up though.
If I miscase a variable name or misspell a type name, it doesn't pick it
up until compile time (VB.NET does).

VB.NET highlights the actual lines in the code window too.

Thanks,

JB
Oct 18 '07 #10
On Oct 19, 2:20 am, John B <jbngs...@yahoo.comwrote:
Peter Duniho wrote:
John B wrote:
This is not a bug.
I think that's probably true. But...
c# doesnt do continual incremental builds as vb.net does (this is a
good thing) and therefore does not have the ability to highlight
syntax errors "on-the-fly".
That's definitely not true. In the retail Visual Studio 2005 that I
use, C# is constantly evaluating what I type, highlighting errors and
listing them in the error output pane.

Hmm, seems you're correct.
It never used to(I think) in 2003, personally I have the error window
minimized to maximise code realestate.
It seems finicky about what it picks up though.
If I miscase a variable name or misspell a type name, it doesn't pick it
up until compile time (VB.NET does).

VB.NET highlights the actual lines in the code window too.

Thanks,

JB
At least, Visual C# is very late for reflecting on-the-fly error
reporting. VB.NET reports errors immediately after you finish typing
syntax or jump to another lines. But i saw in C# express (2005),
there's a delay, latency about reporting errors, you must click
somewhere or try to debug it to see if there are really errors.

However, it might be about C# coding discipline, structure or sth
else.

Thanks.

Oct 19 '07 #11
On Oct 19, 11:54 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:

<snip>
At least, Visual C# is very late for reflecting on-the-fly error
reporting. VB.NET reports errors immediately after you finish typing
syntax or jump to another lines. But i saw in C# express (2005),
there's a delay, latency about reporting errors, you must click
somewhere or try to debug it to see if there are really errors.
Again, this is not something I've seen, though it's been a while since
I've used Express.
As I use ReSharper, it's hard to say what the "vanilla" 2005 C#
experience is, but if I type a statement without a semi-colon, for
instance, it's highlighted less than a second later. That's perfectly
acceptable as far as I'm concerned.

You *certainly* don't have to debug it though - compiling it will be
enough.

Jon

Oct 19 '07 #12

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

Similar topics

0
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
2
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
1
by: Mr.KisS | last post by:
Hi, In my aspx page i use a stocked procedure and in this procedure, there is a SELECT query. And whene the aspx page calls the procedure i get this exception : ...
5
by: Kevin R | last post by:
I'm trying to update a sql database. It's modified Oledb code from an example that did work with an access database. How can I tweak my code to make it work? Thanks in advance. Kevin...
1
by: Dave | last post by:
I am getting te following error in a ASP.Net app that is running on Win XP Pro (SP2): Server cannot access application directory 'C:\Documents and Settings\dave\My Documents\My Visual Studio...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
23
by: deathtospam | last post by:
A day or two ago, I wrote a quick ASPX page with a CS codebehind using Visual Studio .NET 2005 -- it worked, I saved it and closed the project. Today, I came back to the project, reopened the...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
33
by: Sunny | last post by:
Hi, Sometime, when your script is too big, IE Gives you a warning "Stop Running This Script" A script on this page is causing Internet Explorer to run slowly. Does anyone knows, How to...
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...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.