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

Code cannot debug.

P: n/a

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).

--
lukwagoroy
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


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

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.