onload subcommand for dbx: Evaluate stop/trace after DLL load

Format

Description

The onload subcommand defers building of stop or trace events until the procedure or sourceline is defined in the program dbx is debugging. dbx will evaluate the onload list after a DLL is loaded and generate stop/trace events if the procedure or sourcefile is now known to dbx after symbolics for the DLL are processed. If the procedure or sourceline is already known to dbx, then a normal stop or trace event will be generated and no event will be added to the onload list.

Usage notes

The onload subcommand can be run only while the dbx debug program is running.

Examples

To defer the building of a stop or trace event, enter:
onload stop in myfunc
onload stop in myclass::memfunc
onload stop in myclassvar.memfunc
onload stop at "mypgm.c":52
onload trace in myfunc
onload trace in myclass::memfunc
onload trace in myclassvar.memfunc
onload trace in "mypgm.c":52

Related information

The stop and trace subcommands.