});
}
+ public static void FetchFrames(IList<ThreadMirror> threads)
+ {
+ if (threads.Count == 0)
+ return;
+ threads [0].vm.conn.StartBuffering ();
+ foreach (var thread in threads) {
+ thread.FetchFrames ();
+ }
+ threads [0].vm.conn.StopBuffering ();
+ }
+
public string Name {
get {
if (name == null)
threadsCache = new ThreadMirror [ids.Length];
for (int i = 0; i < ids.Length; ++i)
threadsCache [i] = GetThread (ids [i]);
- if (Version.AtLeast (2, 34)) {
- conn.StartBuffering ();
- foreach (var thread in threadsCache)
- thread.FetchFrames ();
- conn.StopBuffering ();
- }
}
return threadsCache;
}