Unfortunately I am using an external library (taken from SharpDevelop) for debugging in XIDE and for some reason this has trouble some times with the code that x# generates, but I haven't yet found what is the problem exactly. It usually happens with very large methods, is the oXApp:Start() a large one indeed (larger than 200/300 lines)?
Me too, I have many prg files over 10k lines. But the problem is not with large files, only with large entities. If you cut the Start() method to smaller ones, then it should be ok. I know, it's not nice at all, this causes trouble also to myself while programming and I also hope to find a solution about this.