wasCSharpSQLite – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | #undef DEBUG |
2 | /* |
||
3 | * DebugInfo.java -- |
||
4 | * |
||
5 | * This class stores debug information for the interpreter. |
||
6 | * |
||
7 | * Copyright (c) 1997 Sun Microsystems, Inc. |
||
8 | * |
||
9 | * See the file "license.terms" for information on usage and |
||
10 | * redistribution of this file, and for a DISCLAIMER OF ALL |
||
11 | * WARRANTIES. |
||
12 | * |
||
13 | * Included in SQLite3 port to C# for use in testharness only; 2008 Noah B Hart |
||
14 | * |
||
15 | * RCS @(#) $Id: DebugInfo.java,v 1.1.1.1 1998/10/14 21:09:18 cvsadmin Exp $ |
||
16 | * |
||
17 | */ |
||
18 | using System; |
||
19 | namespace tcl.lang |
||
20 | { |
||
21 | |||
22 | /* |
||
23 | * This class stores debug information for the interpreter. |
||
24 | */ |
||
25 | |||
26 | public class DebugInfo |
||
27 | { |
||
28 | |||
29 | /* |
||
30 | * The name of the source file that contains code for a given debug |
||
31 | * stack level. May be null for an unknown source file (if the debug |
||
32 | * stack is activated by an "eval" command or if the Interp is running |
||
33 | * in non-debugging mode.) |
||
34 | */ |
||
35 | |||
36 | internal string fileName; |
||
37 | |||
38 | /* |
||
39 | * The beginning line of the current command under execution. |
||
40 | * 1 means the first line inside a file. 0 means the line number is |
||
41 | * unknown. |
||
42 | */ |
||
43 | |||
44 | internal int cmdLine; |
||
45 | |||
46 | internal DebugInfo( string fname, int line ) |
||
47 | { |
||
48 | fileName = fname; |
||
49 | cmdLine = line; |
||
50 | } |
||
51 | } // end DebugInfo |
||
52 | } |