stack frame bugs fixed
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPStackFrame.java
index bf59b50..cf68846 100644 (file)
@@ -29,15 +29,17 @@ public class PHPStackFrame implements IStackFrame {
        private String file;
        private int lineNumber;
        private int index;
+       private int modno;
        private PHPVariable[] variables;
        private String description;
 
-       public PHPStackFrame(PHPThread thread, String file, int line, int index, String desc) {
+       public PHPStackFrame(PHPThread thread, String file, int line, int index, String desc, int modno) {
                this.lineNumber = line;
                this.index = index;
                this.file = file;
                this.thread = thread;
                this.description = desc;
+               this.modno = modno;
        } 
        
        public PHPStackFrame(PHPThread thread, String file, int line, int index) {
@@ -205,4 +207,11 @@ public class PHPStackFrame implements IStackFrame {
                return DebugTarget.getPHPDBGProxy();
        }
 
+       public void setFile(String file) {
+               this.file = file;
+       }
+       
+       public int getModNo() {
+               return modno;
+       }
 }