File: brkpt3.right

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 (26 lines) | stat: -rw-r--r-- 914 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
+ ###############################################################
+ ### Test bad command parameters
+ ###############################################################
+ # Non integer argument
+ commands a
*** 'commands' command: Expecting a positive integer, got: a
+ # No such breakpoint number
+ commands 5
*** No breakpoint numbered 5.
+ ###############################################################
+ ### Test valid command. Note that in order to do this
+ ### here we need to use the "source" command so that
+ ### input doesn't get confused.
+ ### FIXME: somehow output isn't coming out. 
+ ###        but at least we're testing part
+ ###        parsing to the "end"
+ ###############################################################
+ break 28
Breakpoint 1 set in file gcd.py, line 28.
+ source comm1.cmd
+ continue
+ break 31
Breakpoint 2 set in file gcd.py, line 31.
+ source comm2.cmd
+ continue
+ quit