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)?
–jeroen
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.
Alister Christie said
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:
–jeroen