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. 3 2089
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.
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 willautomaticall y 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.
.
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, 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 willautomatical ly 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.
. . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 signed string in Python 2.4 and up
return ("<%s at 0x%x: %r>"
I'm using python2.3.5 on a debian sid box.
The getmail4 website/FAQ maintains that...
|
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, std::char_traits<char>, std::allocator<char> >*)'
line 93:
AT_UrlParser qservice(service);
I'm including a custom header file that defines AT_UrlParser.
|
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),
|
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 compiler as the page is
requested by the browser. The result is that
the "compiler failed with error code 2000". I have
tested the same code on...
|
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 "Incorrect
syntax near the keyword 'and'." or "System.Data.SqlClient.SqlException:
Incorrect syntax near the keyword 'and'."
instead of:
| |
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 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...
|
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 instead of run time. (using maybe
error messages/
warnings...? Any other way except the output code generated).
Anyone knows if this is possible to...
|
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 looking for one
for gcc. The general problem is of course that the compiler messages
must be short, and that tends to make them so cryptic that it...
|
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 the source
(gcc-4.3.1/gcc/c-common.c) of gcc 4.3.1, is a syntax error.
I'm inclined to agree, as it is like no C I have ever met.
what is ...
|
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...
|
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...
| |
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. ...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |