Sun Studio 12: Debugging a Program With dbx

Backquote Operator

Use the backquote character (`) to find a variable or function of global scope:


(dbx) print `item

A program can use the same function name in two different files (or compilation modules). In this case, you must also qualify the function name to dbx so that it registers which function you will navigate. To qualify a function name with respect to its file name, use the general purpose backquote (`) scope resolution operator.


(dbx) func`file_name`function_name