so here is the code
case "kancolle":
FiddlerObject.log("kancolle start");
var inputPath = ** // ** is certain input path
var kanFiles:String[] = System.IO.Directory.GetFiles(inputPath, "*.saz");
for (var i:int = 0; i<kanFiles.Length; ++i) // just 1 file in fact
{
FiddlerObject.log("kanFiles: " + i);
var kanSessions:Session[] = Utilities.ReadSessionArchive(kanFiles[i], true);
for (var i1:int = 0; i1<kanSessions.Length; ++i1) // 23 sessions there
{
FiddlerObject.log("kanSessions: " + i1);
FiddlerObject.log(kanSessions[i].url);
}
}
break;
however the output is strange
kancolle start
kanFiles: 0
kanSessions: 0
www.urlForTheFirstSession.com // not a real url
kanSessions: 1
www.urlForTheFirstSession.com // still the same
.... // and continues
I know that this piece of code looks bad, and this is because the are made up together from several others. But I assumed it would work, and now I can't do anything about it.
p.s. if you notice any style problem, I am glad to listen