home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 75.img / CODEVIEW.ZIP / CV.HLP (.txt) < prev    next >
Codeview Help  |  1988-02-23  |  22KB  |  679 lines

  1. IIntro to Help
  2. KKeyboard/Mouse
  3. RRun Commands
  4. DDisplay Commands
  5. EExpressions
  6. WWatch/Break
  7. MMemory Operations
  8. SSystem Commands
  9. XRegular Xpressions
  10. TThread Command
  11. CODEVIEW (R) HELP SYSTEM
  12. You can enter the Help system in one of two ways:
  13. 1. Click on Help or press 
  14. ALT+H
  15.  to open the Help menu; then make a menu  
  16.    selection to go directly to a category (each has 1-4 screens).
  17. 2. By entering 
  18.  or pressing 
  19. , you go directly to this screen.
  20. Once in the Help system, move forward or backward to another screen by
  21. clicking one of the selection boxes below, or pressing one of the indicated
  22. hot keys. Colors and syntax used in the screens are described below:
  23. Headings and titles
  24. Headings
  25. Indicates that 
  26. Key terms or punctuation   
  27. Key terms
  28.   optional
  29. Explanatory text
  30.  Text
  31. Indicates either 
  32. Information you supply
  33. Placeholders
  34. SCREEN 1 OF 1 (Introducing Help)
  35. Description
  36. Keyboard
  37.   Mouse
  38. Enter Help system
  39.  menu
  40. Open register window
  41. Options
  42.  menu
  43. Toggle display mode
  44. View 
  45. Switch to Output screen  
  46.  View
  47.  menu
  48. Click left on 
  49. Switch cursor window
  50. Execute cursor line
  51. at location  
  52. Click right on source line
  53. Trace through routine
  54. Click left on Trace
  55. Set breakpoint at cursor 
  56. at location  
  57. Click left on source line
  58. Step over routine
  59. Click right on Trace
  60. Make window grow
  61. CONTROL+G
  62. Drag line up or down
  63. Make window tiny
  64. CONTROL+T
  65. Drag line up or down
  66. Scroll up a line
  67.  Move cursor off top   
  68. Click left on up arrow
  69. Scroll up a page
  70. Click above elevator
  71. Scroll down a line
  72.  Move cursor off bottom
  73. Click left on down arrow
  74. Scroll down a page
  75. Click below elevator
  76. SCREEN 1 OF 1 (Keyboard/Mouse)
  77. Trace
  78. count
  79.  Executes current source line or
  80.  instruction. If 
  81. count
  82.  is given,
  83. (Click left on 
  84. Trace
  85. )   repeats 
  86. count
  87.  times. Traces through
  88.  routines and interrupts.
  89. Program Step  
  90. count
  91.  Executes current source line or
  92.  instruction. If 
  93. count
  94.  is given,
  95. (Click right on 
  96. Trace
  97. )  repeats 
  98. count
  99.  times. Steps over
  100.  routines and interrupts.
  101. address
  102.  Executes until debugger encounters
  103. address
  104. , a previously set breakpoint,
  105. (Click on 
  106.  or the end of the program.
  107. Execute
  108.  Executes in slow motion until you
  109. press a key.
  110. SCREEN 1 OF 1 (Run Commands)
  111. Display Expression
  112. expression
  113. format
  114. Evaluates 
  115. expression
  116.  and displays the value. If
  117. format
  118.  is given, the value is displayed in the
  119. corresponding format, as show below:
  120. Specifier
  121. Input Type
  122. Output Format
  123. Integer  
  124. Signed decimal integer
  125. Integer  
  126. Unsigned decimal integer
  127. Integer  
  128. Unsigned octal integer
  129. Integer  
  130. Hexadecimal integer
  131. Floating point
  132. Scientific notation
  133. "E" or "f," whichever is more compact
  134. Character
  135. ASCII equivalent of character
  136. String   
  137. C null-terminated string
  138. Integers can have 
  139.  prefix.
  140. SCREEN 1 OF 4 (Display Commands)
  141. Display Symbols
  142. module
  143. routine
  144. symbol
  145.  Displays symbols as described below:
  146. module
  147. routine
  148. symbol
  149. This 
  150. symbol
  151. routine
  152. module
  153. module
  154. routine
  155. All symbols in 
  156. routine
  157. module
  158. module
  159. symbol
  160. This 
  161. symbol
  162. module
  163.  (must be static).
  164. module
  165. All static symbols in 
  166. module
  167. . Will not find
  168.  local or dynamic variables.
  169. routine
  170. symbol
  171. This 
  172. symbol
  173. routine
  174. . Searches all modules.
  175. routine
  176. All symbols in 
  177. routine
  178. . Searches all modules.
  179. symbol
  180. Looks for 
  181. symbol
  182.  in this order:
  183.  current routine, current module, all modules.
  184. All symbols in current routine.
  185. All module names.
  186. All symbols in all modules.
  187. SCREEN 2 OF 4 (Display Commands)
  188. Set Mode
  189. Sets display mode to source (
  190. assembly (
  191. , or mixed (
  192. Current Location   
  193. Puts current line in center of display
  194. window.
  195. Stack Trace
  196. Displays routines and their arguments.
  197. ALT+C
  198. The current routine is on top; the
  199. initial routine is on bottom
  200. Unassemble
  201. range
  202. Displays instructions in 
  203. range
  204. . If no
  205. range is given, scrolls down one screen.
  206. expression
  207. Displays source lines, starting at
  208. expression
  209. . If 
  210.  is given,
  211. loads source file. If no arguments are
  212. given, scrolls down one screen.
  213. SCREEN 3 OF 4 (Display Commands)
  214. Graphic Display Command
  215. variable
  216. Displays value of 
  217. variable
  218.  in a dialog box in the
  219. center of the screen. If 
  220. variable
  221.  is a structure,
  222. record, or BASIC user-defined type, then each field
  223. variable
  224.  is displayed. Otherwise, exactly one
  225. field is displayed.
  226. Select a field by clicking left on the same line as
  227. the field, or by moving the cursor and pressing
  228. ENTER. If the field is a pointer, the pointer is
  229. dereferenced. If the field is a structure, record,
  230. or user-defined type, the field is expanded. Click
  231. right or press the backspace key to return to
  232. previous display.
  233. Press ESC or click left outside of dialog box to
  234. remove display.
  235. SCREEN 4 OF 4 (Display Commands)
  236. CodeView Expressions
  237. Expressions in CodeView commands consist of symbols, constants, and/or
  238. operators. Operators join symbols and constants into larger expressions.
  239. For example, "+" joins the constants "4" and "5" in the expression "4+5".
  240. Syntax for operators and constants is presented in the next three screens.
  241. Changing Expression Evaluators
  242. language
  243.  Changes evaluator to 
  244. FORTRAN
  245. , or 
  246. BASIC
  247. language
  248.  is not given, displays current evaluator.
  249. You can also choose evaluators with the Language menu. 
  250.  uses source-
  251. file extension to select evaluator (with C as default choice).
  252. Notes on Extended Operators (
  253.  and 
  254. routine
  255. variable
  256. Local or global variable.
  257. module
  258. linenumber
  259. Source-line address.
  260. SCREEN 1 OF 4 (Expressions)
  261. C Expressions
  262. Precedence  
  263. Operators
  264. Syntax
  265.  Radix
  266. highest  1 
  267. number
  268. Octal
  269. sizeof
  270. number
  271. Decimal
  272. *  /  %  :
  273. number
  274. Hexadecimal
  275. <  >  <=  >=
  276. ==  !=
  277. Memory Operators
  278.   Return byte at 
  279. =  +=  -=  *=  /=  %=
  280.   Return word at 
  281. lowest  10 
  282. BY  WO  DW
  283.   Return dbl. word
  284. See Screens #8 and #14 for use of extended 
  285. operators (
  286.  and 
  287. SCREEN 2 OF 4 (Expressions)
  288. FORTRAN Expressions
  289.  Precedence
  290.  Operators
  291. highest 1 
  292. +  -  
  293. (unary)
  294.   Constant
  295.  Radix
  296. +  -  
  297. (binary)
  298. number
  299.  Default radix
  300. .LT. .LE. .EQ. .NE. .GT. .GE.   
  301. radix
  302. number
  303.  Specified radix
  304. .NOT.
  305. number
  306.  Hexadecimal
  307. .AND.
  308. .EQV. .NEQV.
  309. lowest 11 
  310. See Screens #8 and #14 for use of extended
  311. operators (
  312.  and 
  313. SCREEN 3 OF 4 (Expressions)
  314. BASIC Expressions
  315.   Constant
  316.  Radix
  317. Precedence
  318.  Operators
  319. number
  320. Default radix
  321. highest 1 
  322. number
  323. Octal
  324. number
  325. Octal
  326. +  -  
  327. (unary)
  328. number
  329. Hexadecimal
  330. \  MOD
  331. +  -  
  332. (binary)
  333.   Suffix
  334.  Type
  335. =  <>  <  >  <=  >=
  336. Integer
  337. Single
  338. Double
  339. See Screens #8 and #14 for use of
  340. lowest 14 
  341. variable
  342. extended operators (
  343.  and 
  344. SCREEN 4 OF 4 (Expressions)
  345. Watch
  346. expression
  347. format
  348. Displays 
  349. expression
  350. format
  351. Expression
  352. range
  353. range
  354.  format. See
  355. Screen #4 for format information,
  356. and #14 for type information.
  357. Watchpoint
  358. expression
  359. Breaks execution when 
  360. expression
  361. is true (non-zero).
  362. Tracepoint
  363. expression
  364. format
  365. Breaks when 
  366. expression
  367.  or any
  368. range
  369. value in 
  370. range
  371.  changes. Displays
  372. same as Watch Expression.
  373. Watch List
  374. Lists watch statements.
  375. Watch Delete  
  376. number
  377. Deletes indicated watch
  378. statement, or all if 
  379.  is given.
  380. SCREEN 1 OF 2 (Watch/Break)
  381. Breakpoint  
  382. count
  383. Sets breakpoint at address 
  384. . If  
  385. count
  386.  is given, breakpoint is taken
  387. after 
  388. count
  389.  times. If 
  390.  is given,
  391. the command is executed at each break.
  392. Breakpoint  
  393. Deletes breakpoints in 
  394. , or all
  395. Clear
  396. breakpoints if 
  397.  is given instead.
  398. Breakpoint  
  399. Disables breakpoints in 
  400. , or all
  401. Disable
  402. breakpoints if 
  403.  is given instead.
  404. Breakpoint  
  405. Enables breakpoints in 
  406. , or all
  407. Enable
  408. breakpoints if 
  409.  is given instead.
  410. Breakpoint  
  411. List breakpoints, including status,
  412. location, pass count, and associated
  413. commands.
  414. SCREEN 2 OF 2 (Watch/Break)
  415. Memory Type Formats--used with Dump, Watch, and Enter commands:
  416. ASCII-format string
  417. Byte (8-bit hexadecimal unsigned integer)
  418. Integer (16-bit decimal)
  419. Unsigned (16-bit decimal unsigned integer)
  420. Word (16-bit unsigned hexadecimal)
  421. Double Word (32-bit unsigned hexadecimal)
  422. Short Real (4 bytes)
  423. Long Real (8 bytes)
  424. Ten-byte Real
  425. Specifying Addresses and Address Ranges
  426. expression1 
  427. expression2
  428. Specifies offset or segmented address.
  429. address1 address2
  430. Range from 
  431. address1
  432. address2
  433. address1 
  434.  size
  435. Range beginning at 
  436. address1
  437.  and of length
  438. SCREEN 1 OF 3 (Memory Operations)
  439. Enter
  440. Enters values of 
  441. , beginning at 
  442. Debugger will prompt if 
  443.  is not given.
  444. Items in 
  445.  are separated by spaces.
  446. range
  447. Dumps values of 
  448. range
  449. . Previous or
  450. default type assumed if 
  451.  is not given.
  452. Assemble  
  453. address
  454. Assembles mnemonic instructions beginning
  455. address
  456. . Assumes next instruction if
  457. address
  458.  is not given.
  459. Register  
  460. expression
  461. Sets one of the following registers: 
  462. or 386 extended register.
  463. Sets a condition from one of these pairs:
  464. SCREEN 2 OF 3 (Memory Operations)
  465. Search Memory
  466. range list
  467. Displays each address in 
  468. range
  469.  that
  470. begins a sequence matching each byte
  471. Compare Memory   
  472. range address
  473. Compares bytes in 
  474. range
  475.  to an equal-
  476. sized block beginning at 
  477. address
  478. Fill Memory
  479. range list
  480. Fills 
  481. range
  482.  with byte values in 
  483. repeating values until 
  484. range
  485.  filled.
  486. Move Memory
  487. range address
  488. Copies values in 
  489. range
  490.  to an equal-
  491. sized block beginning at 
  492. address
  493. Port Input
  494. Displays value at 
  495. Port Output
  496. port byte
  497. Assigns 
  498. Displays 8087 registers and stack.
  499. SCREEN 3 OF 3 (Memory Operations)
  500. Enters CodeView Help System.
  501. arguments
  502. Reloads program. Uses new command-line
  503. arguments
  504.  if given.
  505. Option
  506. Sets (
  507. ), clears (
  508. ), or displays the
  509. status of 
  510. lip/Swap, 
  511. ytes Coded, 
  512. Sense, or 
  513. 86 option.
  514. Exits the CodeView debugger.
  515. Radix
  516. radix
  517. Sets radix to 8, 10, or 16, if 
  518. radix
  519. given; otherwise displays current radix.
  520. Redraw
  521. Redraws display screen.
  522. SCREEN 1 OF 3 (System Commands)
  523. Screen Exchange   
  524.  Displays the output screen. Press any key
  525.  to return to the debugging screen.
  526. Shell Escape
  527. command
  528.  Starts a new DOS shell and executes the
  529.  program or DOS command given as 
  530. command
  531. command
  532.  is not given, user can enter commands
  533.  from the DOS prompt, and then enter 
  534.  when
  535.  ready to return to the DOS prompt.
  536. Tab Set
  537. number
  538.  Sets the number of spaces per tab, to 
  539. number
  540. Text Selection  
  541. mouse
  542. Selects text when the right mouse button is
  543. held down and the mouse is dragged right or
  544. left. The selected text appears in the next
  545. dialog box, or at the cursor position when
  546. SHIFT+INS is pressed.
  547. SCREEN 2 OF 3 (System Commands)
  548. Redirection Commands 
  549. device
  550.  Redirects command output to 
  551. device
  552.  (file or device). If
  553.  given, output is echoed on CodeView screen. If second
  554.  given, output is appended.
  555. device
  556.  Redirects command input from 
  557. device
  558.  (file or device).
  559. device
  560.  Redirects both command input and command output.
  561. Commands Used with Redirection
  562. comment
  563. Displays 
  564. comment
  565.  but does not attempt to execute.
  566. Pauses until user presses a key.
  567. Delays for half a second.
  568. SCREEN 3 OF 3 (System Commands)
  569. Search Command
  570. regex
  571.  Searches from cursor line for 
  572. regex
  573. , or previous regular
  574. expression if regex not given--
  575. regex
  576.  consists of text and
  577. (optionally) any of the following special characters:
  578. Character
  579. Function
  580. Removes special meaning (if any) of next character, so
  581. that it is treated as ordinary text. Special characters
  582. \  .  *  [  ]  ^  $
  583. Matches any character.
  584. Matches zero or more repetitions of previous character.
  585. Matches beginning or end of line, respectively.
  586. Continued on next screen.
  587. SCREEN 1 OF 2 (Regular Expressions)
  588. Character
  589. Function
  590. characters
  591. Matches any of the characters within brackets. The
  592. following characters have special meaning within brackets:
  593. When appearing at the beginning of characters,
  594. reverses the function of the brackets so that all
  595. characters will be matched except those in the
  596. brackets. (Example: "[^a]" matches all characters
  597. except "a.")
  598. Matches characters in range specified by characters
  599. on either side of 
  600. . (Example: "[a-c]" matches "a,"
  601. "b," or "c.") To nullify special meaning of 
  602. place at start or end of characters. (Example:
  603. "[-ac]".)
  604. SCREEN 2 OF 2 (Regular Expressions)
  605. Thread Command
  606. specifier
  607. command
  608. Performs 
  609. command
  610.  on thread(s) denoted by
  611. specifier
  612. . Legal values of 
  613. specifer
  614. command
  615.  given below and on following screens.
  616. Specifier
  617. Description
  618. (blank)
  619. Displays the status of all threads.
  620. Specifies last thread executed.
  621. Specifies all threads.
  622. Specifies indicated thread by numeric value.
  623. Specifies current thread.
  624. SCREEN 1 OF 3 (Thread Command)
  625. Command
  626. Description
  627. (blank)  
  628. Status of selected thread(s) is displayed.
  629. Breakpoint is set for the specified thread(s).
  630. This command is followed by the normal
  631. breakpoint syntax (see Screen #13).
  632. Specified thread is executed in slow motion,
  633. while other threads are frozen. 
  634.  is legal
  635. only in source mode; it executes current
  636. thread, while other threads run concurrently.
  637. Specified thread(s) is frozen.
  638. Control is passed to specified thread, while
  639. other threads are frozen. 
  640.  runs all threads
  641. concurrently.
  642. SCREEN 2 OF 3 (Thread Command)
  643. Command
  644. Description  
  645. A program step is executed for the specified
  646. thread, while other threads are frozen. 
  647. legal only in source mode; it executes a program
  648. step for current thread, while other threads run
  649. concurrently.
  650. Specified thread is selected as current thread.
  651. Similar to 
  652. , except that 
  653.  traces through
  654. function on calls and 
  655.  does not.
  656. Specified thread is unfrozen.
  657. SCREEN 3 OF 3 (Thread Command)
  658. =========Execute Code==========   ================Examine Data=================
  659. T [<count>] ............. Trace   ? <expr>[,format] ........ Display Expression
  660. P [<count>] ...... Program Step   X?[mod!][fun.][sym][*] ...... Examine Symbols
  661. G [<addr>] ................. Go   D[<type>] [<range>] .................... Dump
  662. E ..................... Execute   R [<reg>] [[=]<expr>] .............. Register
  663. L [<args>] ............ Restart   7 ........................ 8087 Register Dump
  664. =================Breakpoints====================  =======Watch Statements======
  665. BP [<addr>] [<count>] ["<cmd>"] . Breakpoint Set  W? <expr> ............. Watch
  666. BC [<list>] ................... Breakpoint Clear  W[<type>] <range> ..... Watch
  667. BD [<list>] ................. Breakpoint Disable  WP? <expr> ....... Watchpoint
  668. BE [<list>] .................. Breakpoint Enable  TP? <expr> ....... Tracepoint
  669. BL ............................. Breakpoint List  TP[<type> <range>  Tracepoint
  670. =====================Modify=====================  Y<list> ........ Delete Watch
  671. A [<addr>] ............................ Assemble  W ................ List Watch
  672. E[<type>] [<list>] ....................... Enter  =========Redirection=========
  673. =====Examine Source=====  ====System Control====  [T]>[>]<device> . Send Output
  674. S[+|-|&] ...... Set Mode  N[<radix>] . Set Radix  <<device> ..... Receive Input
  675. U [<range>] . Unassemble  Q ............... Quit  =<device> ..... Redirect Both
  676. V [<addr>] . View Source  /[<regex>] .... Search  " ..................... Pause
  677. . ..... Current Location  \ .... Screen Exchange  : ..................... Delay
  678. K .......... Stack Trace  #[<num>] ..... Tab Set  *[<comment>] ........ Comment
  679.