Documentation Home
>
Sun Studio 12 Update 1: Debugging a Program With dbx
>
Appendix B Event Management
>
Event Handler Examples
> Implementing a Simple Trace
Sun Studio 12 Update 1: Debugging a Program With dbx
Previous
: Setting a Breakpoint for Store to an Array Member
Next
: Enabling a Handler While Within a Function (in function)
Implementing a Simple Trace
To implement a simple
trace, type:
(dbx)
when step { echo at line $lineno; }
Previous
: Setting a Breakpoint for Store to an Array Member
Next
: Enabling a Handler While Within a Function (in function)
© 2010, Oracle Corporation and/or its affiliates