Commands to
enable the generation of core files vary from system to system. On a Linux system using
the bash shell, the command to enable core dumps looks like this:
# ulimit ??“c unlimited
The last consideration for debuggers is that of kernel versus user space debugging.
When performing black box testing of user space applications, which includes most network
server software, user space debuggers usually provide adequate monitoring capabilities.
OllyDbg, written by Oleh Yuschuk, and WinDbg (available from Microsoft) are
two user space debuggers for the Microsoft Windows family of operating systems. gdb is
the principle user space debugger for Unix/Linux operating systems.
To monitor kernel level software such as device drivers, kernel level debuggers are
required. Unfortunately, in the Linux world at least, kernel level debugging tools are not terribly
sophisticated at the moment. On the Windows side, Microsoft??™s WinDbg has become
the kernel debugger of choice following the demise of Compuware??™s SoftIce product.
Code Coverage Tools
Code coverage tools give developers an idea of what portions of their programs are actually
getting executed. Such tools are excellent aids for test case development. Given
results that show what sections of code have and have not been executed, additional test
cases can be designed to cause execution to reach larger and larger percentages of the
program.
Pages:
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613