18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 24<br />

Program Trace Routine<br />

The Program Trace Routine (SNOOPY) is a routine that traces through programs. It is<br />

used with assembly language programs. In batch mode, SNOOPY provides information<br />

about every instruction executed and the effect it had. In demand mode, SNOOPY is a<br />

powerful diagnostic routine that gives the caller control over the trace operation. The<br />

following paragraphs describe how to use SNOOPY in batch mode. Large printouts may<br />

be produced.<br />

A program that is being traced functions the same as a program that is not being traced<br />

except that:<br />

• Execution time is slower. This can affect I/O timing, which might be relevant to the<br />

program being diagnosed.<br />

• Contingencies that would normally error terminate the activity being traced<br />

terminate EXIT$.<br />

The following restrictions apply to SNOOPY:<br />

• SNOOPY must be part of the program's main segment (see the Collector<br />

<strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>).<br />

• Tracing terminates if the main segment is reloaded.<br />

• Only one activity may be traced at a time unless the caller uses duplicate copies of<br />

SNOOPY.<br />

• The program cannot be traced if it is running in real-time mode.<br />

• No activity contingency routine may exist for the activity being traced.<br />

• The only I/O Executive requests permitted are IO$ and IOW$.<br />

• Byte instructions and J-register (character addressing) mode for the 1100/60,<br />

1100/70, and 1100/80 are not traced. The EIS instructions for the 1100/60 and<br />

1100/70 are not simulated.<br />

• The major register set must be available.<br />

7833 1733–004 24–1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!