Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

Code cannot debug.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lukwagoroy - 12 May 2005 15:32 GMT
Loaded 'ntdll.dll', no matching symbolic information found.

I'm writing a small program. It compiled and run. But when trying
to debug by select, I got the following
error messages:

Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'D:\WINDOWS\system32\kernel32.dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\system32\wsock32.dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\system32\ws2_32.dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\system32\msvcrt.dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\system32\ws2help.dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\system32\advapi32.dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\system32\rpcrt4.dll', no matching symbolic
information found.
The thread 0xDD8 has exited with code 0 (0x0).


David Avsajanishvili - 13 May 2005 21:57 GMT
I cannot specify what is reason that you can't debug the program, but I can
give you an alternative solution - try to use a macro to display debug
information. This trick really helps, when classical debugging is very
difficult or impossible.

Include to your "stdafx.h" file following:

#ifdef _DEBUG
    #define DEBUG_MESSAGE(msg) MessageBox(NULL, msg, "Debug", 0)
#else
    #define DEBUG_MESSAGE(msg)
#endif

then, when you want to interrupt the program, include a macro in your code:

...
    AnyAction();
    DEBUG_MESSAGE("Any action performed");
...

In Debug compilation Message Box will appear, while in Release the Message
Box (and it's corresponding code in binary) will not exist.

I use it to debug my ActiveX DLL-s. Maybe it helps, if you will not find
other way to debug your program.

Regards!
David

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.