File: brkpt3t.right.in

package info (click to toggle)
pydb 1.26-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 2,460 kB
  • ctags: 1,061
  • sloc: python: 4,200; perl: 2,479; sh: 873; lisp: 866; makefile: 634; ansic: 16
file content (31 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download | duplicates (3)
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
--Call level -1 
+###############################################################
+### 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.
+cd @srcdir@
+source comm1.cmd
+continue
+break 31
Breakpoint 2 set in file gcd.py, line 31.
+source comm2.cmd
+cd @builddir@
+continue
+quit
Requesting exit from MainThread (id -1209792848)
The program exited via sys.exit(). Exit status: