# Debugging Macintosh Software with MacsBug 1991 — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-debugging-macintosh-software-with-macsbug-1991-c9b894/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-debugging-macintosh-software-with-macsbug-1991-c9b894/2#scan-430574b342bda6749b07efb749019bc546bafc41aa3f504496c6374ed3d7d15b)

Transcribed text:

xii   ~   Contents
Make   Sure   Every Variable Is Initialized   339
Compile with All Type Checking and Warnings Turned On   339
Make and Test Incremental Changes   340
Build In   Virus   Protection   340
Five Basic Debugging Steps   340
Three Ways to Fail   347
When the Macintosh Hangs   347
When the Macintosh Crashes   350
Other Bugs   353
Technique   Potpourri   355
When All Else Fails   355
Command -:   355
Using the BR Command to Display Function Results   356
Conditional MacsBug Commands   357
Debugging Read and Write Sensitive Hardware   357
Using the DH Command   357
Calling Traps From MacsBug   358
Using Discipline and   DSC   359
The FirstTime Macro   359
The EveryTime Macro   360
The   SHOW   Command   360
Using   WH   to Display Traps that Are Called Directly   360
Mr. Bus Error   362
Debugger and DebugStr   362
Summary   363
18. Macros   365
Types of Macros   367
Low Memory Globals   367
Dispatched Traps   368
Command Abbreviations   369
Creating Macros   369
Creating Temporary Macros   370
Creating Permanent Macros with ResEdit   371
Creating Permanent Macros with   MPW   373
Summary   374

Reading notes: Source is a table of contents excerpt with no advertised products, prices or dates Headline is not clearly identifiable in the supplied copy

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/13ab839b3368fe5194b42deecf4a1dda811463d11cde62717978dbaed21c1291/Debugging_Macintosh_Software_with_MacsBug_1991.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-debugging-macintosh-software-with-macsbug-1991-c9b894/1.md)
