Sun Studio 12 Update 1: Debugging a Program With dbx

Using the Return Value of a Function Call as a Filter

You can use a function call as a breakpoint filter. In this example, if the value in the string str is abcde, then execution stops in function foo():


(dbx) stop in foo -if !strcmp(“abcde”,str)