I am trying my hand at using WinDbg for the first time.
I am trying to debug a simple “Hello World” x64 console program. It was
built in VS 2005 using the x64 Debug configuration. It runs fine on Windows
2003 x64, but when I load it in WinDbg, I get the error listed below.
I copied Hello.exe, Hello.ilk, and Hello.pdb to the directory, but still no
luck.
Thanks for any tips. Is there any kind of step by step tutorial for WinDbg
basics?
Neil
---- error ----
Microsoft (R) Windows Debugger Version 6.7.0005.0
Copyright (c) Microsoft Corporation. All rights reserved.
CommandLine: hello
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 0000000140000000 000000014008c000 Hello.exe
ModLoad: 0000000078ec0000 0000000078ff9000 ntdll.dll
ModLoad: 0000000077d40000 0000000077eb3000
C:\WINDOWS\system32\kernel32.dll
ModLoad: 0000000078c30000 0000000078d3c000
C:\WINDOWS\system32\USER32.dll
ModLoad: 000007ff7fc90000 000007ff7fd29000 C:\WINDOWS\system32\GDI32.dll
(3ac.624): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
ntdll.dll -
ntdll!DbgBreakPoint:
00000000`78ef3320 cc int 3