Sun Studio 12 Update 1: Debugging a Program With dbx

Setting Breakpoints in Member Functions of Different Classes

To set a breakpoint in each of the object-specific variants of a particular member function (same member function name, different classes), use stop inmember.

For example, if the function draw is defined in several different classes, then to place a breakpoint in each function, type:


(dbx) stop inmember draw

For more information on specifying an inmember or inmethod event, see inmember function inmethod function.