473,795 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\sys tem32\kernel32. dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\sys tem32\wsock32.d ll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\sys tem32\ws2_32.dl l', no matching symbolic
information found.
Loaded 'D:\WINDOWS\sys tem32\msvcrt.dl l', no matching symbolic
information found.
Loaded 'D:\WINDOWS\sys tem32\ws2help.d ll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\sys tem32\advapi32. dll', no matching symbolic
information found.
Loaded 'D:\WINDOWS\sys tem32\rpcrt4.dl l', 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 1307
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(m sg) MessageBox(NULL , msg, "Debug", 0)
#else
#define DEBUG_MESSAGE(m sg)
#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
3147
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(); <- HERE
2
3792
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 produce two messages having the same message digest. That conjecture is false, as demonstrated by Wang, Feng, Lai and Yu in 2004 . Just recently, Wang, Yu, and Lin showed a short- cut solution for finding collisions in SHA-1 . Their result
6
391
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 hides all of them including hiding the database window, disabling menu changes. What I am after is the same effect as disabling all the check boxes in startup which still leaves 'File', 'Edit', 'Insert','Records','Window' &'Help'. I want to do this...
6
1863
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: Unable to start debugging on the web server. Access is denied." The only thing I've done recently was installing all the latest Microsoft
6
1631
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 currently be hit. No executable code is associated with this line." I can debug another page that is almost identical. It seems as though something is causing this one page to be un-debuggable. Does anyone know what would cause this?
2
1374
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 simple ASP.NET app on my localhost. I have read through all kinds of MS KB articles on this issue and checked out a document on gotdotnet.com titled "howtosolvedebuggerproblems.doc" to no avail. My exact error message when I try to debug is: "Error...
22
2361
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 the user autoscrolls the usercontrol (other things that are on the usercontrol I want to scroll, but haven't included any here). Here are the steps to reproduce my problem. 1. Launch Visual Studio and create a new Windows application with...
14
7043
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 sql server resides on is not reachable. The error is different depending on the connection string that I use. If I use the following connection string: "server=192.1.1.1; Initial Catalog=master; uid=The_User; password=The_Password; Connect...
2
4626
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 5 #edit: not 4, mistake in the title // d3d_windowed program //header files to include #include <d3d9.h> #include <time.h>
0
9519
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10164
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9042
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.