473,473 Members | 1,469 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

compiler error messages have incorrect line numbers!

I am working on a C++ program in .NET. The compiler
generates error messages that are associated with the
wrong line numbers (which is extremely frustrating).
Also, the debugger arrow is positioned on the wrong line
after breakpoints and steps.

Can anyone explain this to me?

The following is added information that may be related to
the symptoms I am seeing:

Originally the program was a VS 6.0 workspace in C++
stored on a SAMBA server. I copied the workspace/project
files and source files from the server to my laptop. When
I openned the workspace/project in .NET on my laptop the
workspace/project was, of course, converted to a
solution/project.
Jul 19 '05 #1
3 2073
I do not know if it is related. However, when I have strange behaviour, I
try to delete the .ncb file that is located in the same directory as the
solution.
So if you find such a file, your could try to delete it (it will
automatically create a fresh one).

José
"doug" <do**@dougcode.net> a écrit dans le message de
news:02****************************@phx.gbl...
I am working on a C++ program in .NET. The compiler
generates error messages that are associated with the
wrong line numbers (which is extremely frustrating).
Also, the debugger arrow is positioned on the wrong line
after breakpoints and steps.

Can anyone explain this to me?

The following is added information that may be related to
the symptoms I am seeing:

Originally the program was a VS 6.0 workspace in C++
stored on a SAMBA server. I copied the workspace/project
files and source files from the server to my laptop. When
I openned the workspace/project in .NET on my laptop the
workspace/project was, of course, converted to a
solution/project.

Jul 19 '05 #2
I deleted the .ncb file and re-compiled. Unfortunately,
the problem did not go away. In all cases, I appreciate
the suggestion.

Doug

-----Original Message-----
I do not know if it is related. However, when I have strange behaviour, Itry to delete the .ncb file that is located in the same directory as thesolution.
So if you find such a file, your could try to delete it (it willautomatically create a fresh one).

José
"doug" <do**@dougcode.net> a écrit dans le message de
news:02****************************@phx.gbl...
I am working on a C++ program in .NET. The compiler
generates error messages that are associated with the
wrong line numbers (which is extremely frustrating).
Also, the debugger arrow is positioned on the wrong line after breakpoints and steps.

Can anyone explain this to me?

The following is added information that may be related to the symptoms I am seeing:

Originally the program was a VS 6.0 workspace in C++
stored on a SAMBA server. I copied the workspace/project files and source files from the server to my laptop. When I openned the workspace/project in .NET on my laptop the workspace/project was, of course, converted to a
solution/project.

.

Jul 19 '05 #3
This happens to me from time to time.
I always end up closing VS.NET and rebooting my machine.
That usually takes care of it. Its annoying. If anyone
else out there has a better way of solving this problem
please let us know! : )

-----Original Message-----
I deleted the .ncb file and re-compiled. Unfortunately,
the problem did not go away. In all cases, I appreciate
the suggestion.

Doug

-----Original Message-----
I do not know if it is related. However, when I have

strange behaviour, I
try to delete the .ncb file that is located in the same

directory as the
solution.
So if you find such a file, your could try to delete it

(it will
automatically create a fresh one).

José
"doug" <do**@dougcode.net> a écrit dans le message de
news:02****************************@phx.gbl...
I am working on a C++ program in .NET. The compiler
generates error messages that are associated with the
wrong line numbers (which is extremely frustrating).
Also, the debugger arrow is positioned on the wrong line after breakpoints and steps.

Can anyone explain this to me?

The following is added information that may be related to the symptoms I am seeing:

Originally the program was a VS 6.0 workspace in C++
stored on a SAMBA server. I copied the workspace/project files and source files from the server to my laptop. When I openned the workspace/project in .NET on my laptop the workspace/project was, of course, converted to a
solution/project.

.

.

Jul 19 '05 #4

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

Similar topics

14
by: kosuke | last post by:
I keep getting the following error/warning message when using the python based program getmail4: /usr/lib/python2.3/optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will return a...
5
by: Patrick Coleman | last post by:
Hi, This may seem to be a basic question, but I keep getting the following error: main.cc:93: undefined reference to `AT_UrlParser::AT_UrlParser(char const*, std::basic_string<char,...
1
by: Dharmesh Gandhi | last post by:
DB-Library Error 10007: General SQL Server error: Check messages from the SQL Server. CREATE PROCEDURE . ( @srvr varchar(50),
2
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT...
3
by: tshad | last post by:
If you get an exception or SqlException, how do you get the actual message? Not the detailed breakdown, but the actual message. For example, in the following message, I would like to find just...
3
by: doug | last post by:
I am working on a C++ program in .NET. The compiler generates error messages that are associated with the wrong line numbers (which is extremely frustrating). Also, the debugger arrow is...
7
by: John | last post by:
I want to output the stuff computed using the compiler using template metaprogrms (not at runtime but compile time). An easy example is to output the set of fibonacii numbers at compile time...
6
by: David Mathog | last post by:
Do any of you happen to have links to compendiums (or heaven forbid, an actual manual) which maps compiler warnings and errors to examples of actual code problems? In this case I'm specifically...
27
by: Dave | last post by:
I'm having a hard time tying to build gcc 4.3.1 on Solaris using the GNU compilers. I then decided to try to use Sun's compiler. The Sun Studio 12 compiler reports the following code, which is in...
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
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,...
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,...
1
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...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.