File: run2.cmd

package info (click to toggle)
pydb 1.19-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,952 kB
  • ctags: 1,412
  • sloc: python: 3,065; perl: 2,479; sh: 586; makefile: 555; lisp: 265; ansic: 16
file content (43 lines) | stat: -rw-r--r-- 926 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Test of restart and linetracing 
# $Id: run2.cmd,v 1.2 2006/03/13 22:23:30 rockyb Exp $
#
set basename on
set cmdtrace on
info program
continue
info program
######################################
### Program munges sys.argv
### see if we can rerun it okay
######################################
set interactive on
run 3 5
######################################
### Break of a fn name and
### Try a return where there is none
### either because not in subroutine
### or no "return" statement
######################################
set interactive off
break check_args
return
continue
return
######################################
### rerun wrong number of parameters
### that causes and exception
### and use "info program" to check
### termination
######################################
set interactive on
info program
run 5 10
continue
break gcd
continue
info program
set linetrace on
set interactive off
return
where
quit