Forráskód Böngészése

Add Debugger.getFilesFullPath

Hugh 11 éve
szülő
commit
bd2c67576b
1 módosított fájl, 15 hozzáadás és 0 törlés
  1. 15 0
      std/cpp/vm/Debugger.hx

+ 15 - 0
std/cpp/vm/Debugger.hx

@@ -188,6 +188,21 @@ class Debugger
         return untyped __global__.__hxcpp_dbg_getFiles();
    }
 
+
+    /**
+     * Returns the full paths of the set of source files known to the debugger.
+     * This is a copy * of the original array and could be quite large.The caller should
+     * It is possiblw that this set will be empty, in which case the full paths are not known.
+     * The index of these files matches the index from "getFiles", so the full path for
+     * a given short path can be calculated.
+     *
+     * @return the known full paths of the set of source files
+     **/
+   public static function getFilesFullPath() : Array<String>
+   {
+        return untyped __global__.__hxcpp_dbg_getFilesFullPath();
+   }
+
     /**
      * Returns the set of class names of all classes known to the debugger.
      * This is a copy of the original array and could be quite large.  The