![]() Chapter Contents |
![]() Previous |
![]() Next |
| TRACE |
| Abbreviation: | T |
| Syntax | |
| Details | |
| Examples | |
| See Also |
Syntax |
| TRACE <location <AFTER count <<WHEN clause | DO list>> |
| Details |
The TRACE command sets a tracepoint at a specified statement and traces the execution of that statement.
A tracepoint differs from a breakpoint because a tracepoint resumes program execution after temporary suspension. Also, a tracepoint has a higher priority than a breakpoint. If a statement has been specified both as a tracepoint and as a breakpoint, the debugger first prints the trace message and then suspends program execution. Each time the tracepoint statement is encountered, the debugger does the following:
| Examples |
DEBUG> t 45
DEBUG> t _all_
DEBUG> t _all_ do; e _all_; end
DEBUG> t entry
DEBUG> t MAIN
DEBUG> t 45 after 3
DEBUG> t 45 when (divisor=0 and dividend=0)
DEBUG> t test1\5
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.