?
Solved

Debug error?

Posted on 2003-03-22
4
Medium Priority
?
197 Views
Last Modified: 2013-11-20
I enabled debugging in my program, yet I get this error:

C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxcmn.inl(589) : warning C4786: 'std::_Tree<HWND__ *,std::pair<HWND__ * const,CMsgHandler::tagWndHandlers>,std::map<HWND__ *,CMsgHandler::tagWndHandlers,std::less<HWND__ *>,std::allocator<CM
sgHandler::tagWndHandlers> >::_Kfn,std::less<HWND__ *>,std::allocator<CMsgHandler::tagWndHandlers> >' : identifier was truncated to '255' characters in the debug information


Whats up with that?
0
Comment
Question by:Nitro187
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
bistrica earned 200 total points
ID: 8187273
It is warning, not error and the reason is (from MSDN):

The debugger cannot debug code with symbols longer than 255 characters. In the debugger, you cannot view, evaluate, update, or watch the truncated symbols.

This limitation can be overcome by shortening identifier names.  
0
 
LVL 8

Expert Comment

by:fl0yd
ID: 8188223
or, by upgrading to vs.net which doesn't have this limitation anymore. Anyway, it is an error message that does _not_ jeopardize program execution. Only debugging will be limited as described by bistrica.

To help you save points in the future you can always do the following: place the cursor over the warning/error number (C4786 in this case) and press F1.

.f
0
 

Author Comment

by:Nitro187
ID: 8188286
Awesome, thanks, found the error. :)
0
 
LVL 8

Expert Comment

by:fl0yd
ID: 8188304
Again, it's _not_ an error! In contrast to error messages, warnings do not stop the compiler from creating an executable.

.f
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question