Process Collection

Apr 20, 2011 at 1:44 PM


I am getting the following error.

GuestProcesses = Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation.


what i am trying to do is get the current processes that are running on the guest VM i am using the following code.


VMWareProcessCollection guestProcesses = machine.GuestProcesses;            

foreach (KeyValuePair<long, VMWareVirtualMachine.Process> process in guestProcesses)          


Debug.Assert(process.Value.Id >= 0);                


Console.WriteLine("{0}: {1} [{2}] ({3})", process.Value.Id, process.Value.Name, process.Value.Command, process.Value.Owner);                            


May 22, 2011 at 7:05 PM

You should build a very simple repro and file a bug.

There's quite a bit of asynchronous calling happening underneath. Something that was called before didn't cleanup properly.