Sun Performance WorkShop Fortran Overview

For Command-Line Debugging, Use dbx

The dbx debugger is an interactive, source-level, command-line tool. You can use it to run a program in a controlled manner and to inspect the state of a stopped program. dbx gives you complete control of the dynamic execution of a program, including the collection of performance data.

Make use of the multithreaded features that are built into the standard dbx. You can identify all known threads, including their current state, base functions, and current functions. You can also examine thread stack traces. To ensure proper execution, you can debug threads by stepping through or over a thread, navigating between threads, and then resuming execution at any time.


Note -

If you wish to debug your multithreaded application with dbx, you must include the -lthread option at link time.