473,395 Members | 1,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Code cannot debug.


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
1 1287
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: aaj | last post by:
Hi all I have written a small app on my machine that I have passed on to a colleague for testing. The problem is, as soon as he steps through in debug mode and reaches try { conn.Open();...
2
by: Bryan Olson | last post by:
The current Python standard library provides two cryptographic hash functions: MD5 and SHA-1 . The authors of MD5 originally stated: It is conjectured that it is computationally infeasible to...
6
by: Mark Reed | last post by:
Hi all, I am trying to learn a little about programming (I know next to nothing so far) and have found some code which hides the toolbars. However, this bit of code is a little too effective and...
6
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project:...
6
by: Joe Rattz | last post by:
I have a web page (aspx and aspx.cs) that I cannot debug for some reason. The breakpoint will have the little red dot with the question mark and the tooltip says "The breakpoint will not...
2
by: Scott Adams | last post by:
Does anyone know of some good resources to use when troubleshooting why one cannot debug ASP.NET apps? I am using Win2K pro SP4 (IIS 5) on a brand new machine and I cannot debug even the most...
22
by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether...
14
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that...
2
by: Netwatcher | last post by:
Hello, i am new to c++ windows and DX programming, i encountered a code in the book stated in the title, which doesn't work for a reason, here is the code // Beginning Game Programming // Chapter...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
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,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.