I found a very strange behaviour of the Excel application object when VFP Debugger is open. For reproducing of this behaviour test the following rows of code
loExcel1=CREATEOBJECT("Excel.Application")
loWbs=loExcel1.Workbooks
loWBNew=loWbs.Add
? loWbs.Count&& wait the few seconds and repeat
? loWbs.Count
? loWbs.Count
The number of the added workbooks grows very fast. Could anybody explain that?