C:\debuggers>dir *.exe
Volume in drive C is LOCAL DISK
Volume Serial Number is C819-53ED
Directory of C:\debuggers
05/18/2004 12:22 PM 5,632 breakin.exe
05/18/2004 12:22 PM 53,760 cdb.exe
05/18/2004 12:22 PM 64,000 dbengprx.exe
04/16/2004 06:18 PM 68,096 dbgrpc.exe
05/18/2004 12:22 PM 13,312 dbgsrv.exe
05/18/2004 12:23 PM 6,656 dumpchk.exe
??¦output truncated for brevity??¦
CDB vs. NTSD vs. WinDbg
There are actually three debuggers in the preceding list of programs. CDB (Microsoft
Console Debugger) and NTSD (Microsoft NT Symbolic Debugger) are both characterbased
console debuggers that act the sameway and respond to the same commands. The
single difference is that NTSD launches a new text window when it starts, whereas CDB
inherits the command window from which it was invoked. If anyone tells you there are
other differences between the two console debuggers, they have almost certainly been
using old versions of one or the other.
The third debugger is WinDbg, a Windows debugger with a full GUI. If you are more
comfortable using GUI applications than console-based applications, you might prefer
to use WinDbg. It, again, responds to the same commands and works the same way
under the GUI as CDB and NTSD.
Pages:
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457