HPlogo Debugging threads with HP Wilde Beest Debugger

Thread Debugging commands at a glance

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

Table 2 Thread Debugging Commands

CommandDescription
set thread-check on/offEnables or disables Advanced thread debugging feature. The default setting is off.
info-thread[thread-id]Displays a list of known threads.
info mutex[mutex-id]Displays a list of known mutexes.
info condvar[condvar-id]Displays a list of known conditional variables.
info rwlock[rwlock-id]Displays a list of known read-write locks.
set thread-check recursive-relock[on|off]Checks if a thread attempts to acquire a non-recursive mutex that it currently holds.
set thread-check stack-util[num]Checks if any thread has used more than the specified percentage [num] of the stack location.
set thread-check num-waiters[num]Checks if the number of threads waiting on any pthread objects exceeds the specified threshold number.
set thread-check thread-exit-no-join-detach[on|off]Checks if a thread has terminated execution without joining or detaching the thread.
set thread-check unlock-not-own[on|off]Checks if a thread has attempted to unlock a mutex or a read-write block that it has not acquired.
set thread-check mixed-sched-policy[on|off]Checks if a thread waits on a mutex or a read-write lock that is held by a thread with a different scheduling policy.
set thread-check cv-multiple-mxs[on|off]Checks if an application uses the same condition variable in multiple calls by different threads.
set thread-check cv-wait-no-mx[on|off]Checks if the associated mutex of a condition variable is locked when the thread calls the pthread_cond_wait() () routine.

 

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