HPlogo Debugging threads with HP Wilde Beest Debugger

Introducing the HP WDB Debugger

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

HP Wildebeest Debugger (WDB) is an HP-supported implementation of the open source debugger GDB.

HP WDB enables you to debug threaded programs written in HP C and HP aC++ on Itanium®-based systems running HP-UX 11i v2 or HP-UX 11i v3, and HP 9000 systems running HP-UX 11i v2, or HP-UX 11i v3 operating systems.

The main features related to thread-debugging in HP WDB are as follows:

  • Enable and disable a thread

  • Enable and disable advanced thread-debugging feature

  • Display the stack trace of the current thread

  • View information on the state of pthread primitives such as mutexes, read-write locks, and conditional variables

  • Detect most thread-related conditions that are potential causes for errors in thread programming, through advanced thread-debugging feature

  • Debug threads interactively after you attach GDB to a process

© 2008 Hewlett-Packard Development Company, L.P.