Advertisement

Visual Studio 6 Debug Symbol Files and Win2K

Started by February 09, 2001 06:45 PM
5 comments, last by Harmony 23 years, 11 months ago
Hi, I am what can only be politely referred to as a ''newbie'' to games devlopment (and development in general). I am attempting to learn C++, and am using Microsoft Visual Studio 6. I have installed Win2k Pro, Visual Studio 6 and the NT DBG files that come with Visual Studio. Win2k is patched to the hilt and Visual Studio is patched to service pack 4. I can not seem to debug anything. The program I have written runs fine outside of Visual Studio, but if I run it within Visual Studio, I get the following error: >> Loaded ''C:\WINNT\System32\ntdll.dll'', no matching symbolic information found. Loaded ''C:\WINNT\system32\KERNEL32.DLL'', no matching symbolic information found. The thread 0x3A0 has exited with code 0 (0x0). << I have scoured the globe and MS''s knowledge base etc and I can not find anything that helps me resolve this situation. If anyone could help it would be greatly appreciated. Thanks in advance. ------------------------- Cheers, Ry
-------------------------Cheers,Ry
Hehe, you don''t need NT debug files to debug your program - the NT dgb builds are to debug NT! (used when making drivers)

Did you make an MFC app, or a console, or a Win32?

Magmai Kai Holmlor
- The disgruntled & disillusioned
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Advertisement
I am merely writing a small ''DOS'' type hello worldish .cpp file.

I hit F7 the F5.

The program dies in the IDE after F5, but it runs fine directly or with ctrl+F5.

Am I just doing somehting silly? Or have I failed to install or set up something?


Cheers again for you help.

Ry
-------------------------Cheers,Ry
I am merely writing a small ''DOS'' type hello worldish .cpp file.

I hit F7 the F5.

The program dies in the IDE after F5, but it runs fine directly or with ctrl+F5.

Am I just doing somehting silly? Or have I failed to install or set up something?


Cheers again for you help.

Ry
In the debugger, a console program will run and quit automatically ( unlike Ctrl f5 where it will say press any key to quit )

Try setting a breakpoint inside the program.

The symbols should be available in the win2k service patch (or maybe a seperate download from ms)
Thanks for the help.



Ok, so now I can continue on my merry way. Using ctrl+F5 which adds a press any key type pause automatically at the end of the program (only whil in VC++).

However, re the debug files. I can''t find them in the Download version of the Service pack (for either Win2K or Visual Studio), nor as a separte download.

If anyone has a link or somehting that would be great.

Cheers,
Harmony
-------------------------Cheers,Ry
Advertisement
The symbols are located in a directory in the win2k CD ( Forgot which one).

However, I read somwhere that if you patch your win2k with service packs, you need to get new symbols.

For me, I didn;t patch with sp1 but downloaded the platform sdk and it installs the symbols automatically. You can get that from msdn downloads.

This topic is closed to new replies.

Advertisement