Sun Studio 12 Update 1: Debugging a Program With dbx

exit exitcode

The exit event occurs when the process has exited.