The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,482 other followers

Reminder to self: Delphi XE2 x64 debugging on Windows 8 is a no go, you get [Error] Disconnected session

Posted by jpluimers on 2013/08/09

Just found out this the hard way, glad I found it soon which prevented me from doing like Ondrej Kelle – Google+ – Wasted a few hours with this….:

Debugging 64 bit Delphi applications with Delphi XE2 on Windows 8 does not work

Problem: Debugging a 64 bit Delphi application using Delphi XE2 with Windows 8 results in the error Disconnected session.

Solution: Windows 8 is not a supported platform for versions of Delphi prior to Delphi XE3. To get debugger support for 64 bit applications on Windows 8, you must get Delphi XE3. If you are upgrade sensitive, Embarcadero recommends you get Support and Maintenance along with your next purchase. Support and Maintenance guarantees you all updates for 1 year and gets you 3 support incidents in addition.

The proposed solution is to upgrade to at lease Delphi XE3, but this project is not ready to upgrade just yet.

Anybody with a real workaround (apart from downgrading to Windows 7)?


via Error: Disconnected session.

4 Responses to “Reminder to self: Delphi XE2 x64 debugging on Windows 8 is a no go, you get [Error] Disconnected session”

  1. Leonardo Herrera said

    You can’t downgrade since you are debugging a Win64 application. I have Windows 8 and Delphi XE has no issues, but of course I’m only compiling Win32 applications. Good to know that I have to avoid XE2.

    • jpluimers said

      I tried with Delphi XE3 and XE4: they both work. So you can skip Delphi XE2 if you don’t have a particular client that uses it.
      Note that XE2 and Win32 debugging works fine.

  2. Remote debugging using the Platform Assistant?

    • jpluimers said

      Same error message (I presume because the x64 debugger and paserver share quite some implementation details).

      Really nice idea though, as for remote debugging it is a very nice solution.
      Too bad it needs the JRE (:
      But: you made a great video on it:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: