Debug XE8 IDE as an application

I had a problem stopping the stop when working with the XE8 IDE since I first installed it. Every few times I click the File | Open File | Open , there is a short pause, then the entire IDE turns off and disappears. There is no warning, there is no OS error message and nothing is written to the Windows event log (this is on a system upgraded from Win7 to Win10Pro with a 64-bit version, since I installed XE8, btw). Sometimes this happens when the only action I take in the IDE is to click File | Open File | Open immediately after restarting the IDE from a previous occurrence.

Anyway, the reason I'm posting this q is because I seem to have discovered a simple sequence of steps that reproducibly provokes the problem as follows:

  • Run the XE8 IDE (I will refer to this instance as A).

  • In A, go to Run | Load Process Run | Load Process and load and run the second instance of BDS.EXE, which I will name B.

  • In B, reopen the last project I worked on. Once it opens, execute File | Close All File | Close All

  • In B, click File | Open File | Open

What is it. B turns off and disappears, and there is no sign of this when I return to A. This happens if I start B with the /NOCASTALIA .

The first reason I tried this was primarily because I was hoping that the Delphi debugger would be able to catch any exception that I imagined, causing B to stop and shed light on what was happening.

So I ask, can anyone suggest any simple measures so that A can catch everything that happens in B to make him disappear? I tried to look at the CPU in A while B is running, but all the submenus of the CPU debug window are grayed out. I also looked through the debugger event log, and it shows a few exceptions for the β€œfile to use” when B starts (obviously they are used by instance A), but nothing afterwards.

Update: Using a fairly time-consuming troubleshooting process, I have determined that this behavior is not caused by any IDE development time package. The problem still remains if I remove them from the list so that the Install packages popup is completely empty. I believe that only DLLs are loaded by the IDE itself, such as modeling and refactoring.

Btw, I removed the Beyond Compare and CodeSite packages, removing them for the Registry Experts key.

+2
source share

All Articles