473,803 Members | 4,400 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why doesn't C# have an instant error list, like VB.NET?

mbmccormick
21 New Member
In Visual Studio when developing on VB.NET, we would get an instant error list- before compiling or building the solution. Why doesn't C# have this same functionality? Whenever I want to see my errors, I have to compile first...
Aug 5 '08 #1
9 3234
JosAH
11,448 Recognized Expert MVP
In Visual Studio when developing on VB.NET, we would get an instant error list- before compiling or building the solution. Why doesn't C# have this same functionality? Whenever I want to see my errors, I have to compile first...
It all depends on your IDE; maybe your C# IDE doesn't compile the source code
you're typing in behind your back. Java's Eclipse and NetBeans do so. They only
parse just enough text to be sure that the code that you have typed is syntactically
correct. Sometimes they even manage to find semantic errors. Maybe C# isn't
such a lucky language and you have to compile everything manually yourself
before you can see the mistakes you've made.

kind regards,

Jos
Aug 5 '08 #2
mbmccormick
21 New Member
Thanks for your reply...
Aug 5 '08 #3
r035198x
13,262 MVP
I can see the errors before compiling on VS 2008 ...
Aug 6 '08 #4
Atli
5,058 Recognized Expert Expert
VS 2005 does that as well. Both the professional and Express versions.
Aug 6 '08 #5
mbmccormick
21 New Member
So you are able to see errors, other than syntax errors, before you compile your application using Visual Studio?

How would I ensure that this is turned on in my settings?

Thanks for the replies...
Aug 11 '08 #6
r035198x
13,262 MVP
So you are able to see errors, other than syntax errors, before you compile your application using Visual Studio?

How would I ensure that this is turned on in my settings?

Thanks for the replies...
I only see syntax errors. Are you saying you can see runtime errors before compiling your VB.NET?
Aug 11 '08 #7
mbmccormick
21 New Member
I only see syntax errors. Are you saying you can see runtime errors before compiling your VB.NET?
Yes. In VB.NET, we could see some runtime errors before compiling. Not all of them of course...
Aug 11 '08 #8
JosAH
11,448 Recognized Expert MVP
Yes. In VB.NET, we could see some runtime errors before compiling. Not all of them of course...
Not knowing VB.NET I find that very strange. What causes those runtime errors then?

kind regards,

Jos
Aug 11 '08 #9
Curtis Rutland
3,256 Recognized Expert Specialist
You can't see runtime errors in VB.NET's IDE. They are compile-time errors that you are seeing.
Aug 11 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

14
1995
by: Lucas Raab | last post by:
Are there any instant messenging programs out there for use in a Python app?? I've heard of Jabber, but never looke into it.
0
1823
by: Lynda Kilgore | last post by:
jGu ----qtHwhORV90yyhqJMOc Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html><head><style type=3Dtext/css>.eyebrow { FONT-WEIGHT: bold; FONT-SIZE= : 10px; TEXT-TRANSFORM: uppercase; COLOR: #ffffff; FONT-FAMILY: verdana,ar= ial,helvetica,sans-serif; TEXT-DECORATION: none } A.eyebrow:link { TEXT-DE= CORATION: none }</style><title>H</title><meta http-equiv=3DContent-Type co=
2
2681
by: lafleur | last post by:
I solved this problem, and thought I should post a solution for it. I converted a VB.NET web app to C# using SharpDevelop. When I went to run the C# version, the IDE was ignoring breakpoints - ie. it wouldn't stop at breakpoints. After investigating, we found that we had to manually add this region to the .cs pages: #region Web Form Designer generated code
7
11617
by: Robert | last post by:
I have the function below. it returns a "simpleresult" which I've also included the definition of below. In VS2005 (after upgrading the project), I get a warning indicating that Function 'CloseVantive' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. The code runs fine. But why do I get this message? How do i get rid of it? The only thing I found is if i add a...
5
6902
by: Brett Romero | last post by:
I have a simple test app with one form, one datagridview, and a contextmenustrip. I've assigned the menustrip to the datagridview and given the grid one column. There isn't any data in the grid. I never see the context menu appear when I right click the grid. Any suggestions? Thanks, Brett
8
1666
by: Lucvdv | last post by:
VS2005: can someone explain why this code doesn't cause endless recursion? It just returns False. However, if you replace "Return TestProp" with "Return Me.TestProp", the compiler warns for recursion (a warning, not an error), and it fails with a stack overflow at runtime -- as expected. Public Class Form1
13
3031
by: Chris Carlen | last post by:
Hi: I have begun learning Python by experimenting with the code snippets here: http://hetland.org/writing/instant-python.html In the section on functions, Magnus Lie Hetland writes: -------------------------------------------------------------------- For those of you who understand it: When you pass a parameter to a
38
1803
by: tshad | last post by:
In VS 2008, why doesn't ToString require "()". If I have Option Strict On on why can I do both: selectedIndex.ToString() selectedIndex.ToString or sQuery = temp.ToUpper().IndexOf("friend")
7
5776
by: QiongZ | last post by:
Hi, I just recently started studying C++ and basically copied an example in the textbook into VS2008, but it doesn't compile. I tried to modify the code by eliminating all the templates then it compiled no problem. But I can't find the what the problem is with templates? Please help. The main is in test-linked-list.cpp. There are two template classes. One is List1, the other one is ListNode. The codes are below: // test-linked-list.cpp :...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10548
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10316
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9125
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.