473,836 Members | 1,598 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 3236
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
1998
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
1826
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
11620
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
6904
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
3035
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
1807
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
5778
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
9814
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
9666
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10838
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...
1
10585
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10250
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7788
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
6977
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4447
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
4010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.