File: D.ex

package info (click to toggle)
nana 2.5-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,764 kB
  • ctags: 369
  • sloc: sh: 4,058; ansic: 1,547; makefile: 197; tcl: 48; lisp: 39
file content (38 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (7)
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
Script started on Mon Apr 21 19:23:42 1997
% ed test.c
a
main() {
  int i = 10;

  DL("Hello"^H   \n");
  DL(  I(i == 10);
}
.
w
77
q
% # need to pass off any C preprocessor options to nana
% nana -I$HOME/work/play/include test.c
break test.c: 6			# generated debug script
condition $bpnum  (1)  
command $bpnum
silent
cont
end
break test.c: 7
condition $bpnum ( 1  ) && (!(  i == 10  ))
command $bpnum
silent
echo   "DI(""i == 10"")"   has failed at  f : l  with      \n
where
end
% nana-clg -I$HOME/work/play/include test.c
Breakpoint 1 at 0x1592: file test.c, line 6.
Breakpoint 2 at 0x1593: file test.c, line 7.

Program exited normally.
% exit
exit

Script done on Mon Apr 21 19:25:06 1997