Debugging threads with HP Wilde Beest

About This Document
This whitepaper describes the various commands and options available in HP
Wilde-Beest Debugger (WDB) to debug threads in programs. In addition, this paper
addresses the most common thread programming issues along with the various
thread-debugging commands in HP WDB.
Intended Audience
This document targets the developers who want to use HP WDB to debug their threaded
applications developed in C and C++. The document also intends to be a useful reference
for readers who want to know about the various thread-debugging features available
in HP WDB.
Typographic Conventions
This document uses the following typographical conventions:
%, $, or #
A percent sign represents the C shell system prompt.
A dollar sign represents the system prompt for the
Bourne, Korn, and POSIX shells. A number sign
represents the superuser prompt.
audit(5) A manpage. The manpage name is audit, and it is
located in Section 5.
Command
A command name or qualified command phrase.
Computer output
Text displayed by the computer.
Ctrl+x A key sequence. A sequence such as Ctrl+x indicates
that you must hold down the key labeled Ctrl while
you press another key or mouse button.
ENVIRONMENT VARIABLE
The name of an environment variable, for example,
PATH.
[ERROR NAME]
The name of an error, usually returned in the errno
variable.
Key The name of a keyboard key. Return and Enter both
refer to the same key.
Term The defined use of an important word or phrase.
User input
Commands and other text that you type.
Variable
The name of a placeholder in a command, function, or
other syntax display that you replace with an actual
value.
[] The contents are optional in syntax. If the contents are
a list separated by |, you must choose one of the items.
Intended Audience 7