By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,369 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,369 IT Pros & Developers. It's quick & easy.

compiler error messages have incorrect line numbers!

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.