Dbx 1024 User's Guide Page 33

  • Download
  • Add to my manuals
  • Print
  • Page
    / 158
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 32
19
Chapter 4
4. Controlling dbx
This chapter describes features of dbx that affect its operation while
debugging a program. Specifically, this chapter covers:
“Creating and Removing dbx Variables”
“Using the History Feature and the History Editor”
“Creating and Removing dbx Aliases”
“Recording and Playing Back dbx Input and Output”
“Executing dbx Scripts”
Creating and Removing
dbx
Variables
dbx allows you to define variables that you can use within dbx to store values.
These variables exist entirely in dbx; they are not part of your program. You
can use dbx variables for a variety of purposes while debugging. For
example, you can use dbx variables as temporary storage, counters, or
pointers that you use to step through arrays.
dbx also provides many predefined variables that control how various dbx
commands function. Appendix C, “Predefined dbx Variables” provides a
complete list of predefined dbx variables and their purposes.
A dbx variable does not have a fixed type. You can assign a dbx variable any
type of value, even if it already has a value of a different type. However, a
variable predefined by dbx does have a fixed predefined type.
You can use almost any name for dbx variables. A good practice to follow is
to use a dollar sign ($) as the first character of all dbx variables to prevent
conflicts with most program variable names. All of dbx’s predefined
variables begin with a dollar sign.
Page view 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 157 158

Comments to this Manuals

No comments